fixing subclassing and from_db
Clean build environment, added undef support, cleaned up related warnings, and added subclass support.  Ready for 1.0
Changes for 1.00
Merge pull request #1 from einhverfr/master

changes for 1.0