Enhance filehandle registration

Previously, pyghmi only could have file objects registered.  Accept
and adjust as appropriate to accomodate plain int filedescriptors.
This allows, for example, os.pipe() construct to be hooked.

Change-Id: Ie5e81a2276c68e9235d373d4a662f7b1aef153f5