Move TypeFactory specs up
Add Utils#isString
Spacing.
Fix a lot of scoping problems in tests.
Let Contract be first-class.