Fixing random issues
Fixing issue #27. The fact that network devices still have addresses with the port with it was causing trouble during the querying of the device on the database.
Added parameters to register for event as requested by issue #26
Merge pull request #28 from UnBiquitous/fixing_unkown_issues

Fixing unkown issues