Refactored register object from intel10g.lua to register.lua.

Based on @pkazmier's proposed API for register objects.

Totally untested. Patience, please :-)