Case to allow for objects as datatypes because you can't call a constructor as a function.

Required for support of Enum in MySQL adapter because each Enum is its own Enum object instead of there being a universal Enum function.

Implemented in most simple way possible.
Merge pull request #293 from hbj/updateAttributes_and_foreign_keys

Model's 'updateAttributes()' does not apply setters
Merge pull request #296 from dgsan/master

Case to allow for objects as datatypes because you can't call a constructor as a function.
The callback was called twice on error
Merge pull request #299 from gierschv/master

[SQL] A callback was called twice on error
Merge branch 'master' of https://github.com/1602/jugglingdb