Fix for issue #10.

https://github.com/natefaubion/adt.js/issues/10

Added tests to replicate the issue.
Fixed issue by binding constructors built with `.type`.
Merge pull request #11 from LiamGoodacre/master

Fix for issue #10.