Homeowner attacked, beats and holds down suspect for police