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 #296 from dgsan/master

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