Forbid modules who extend from non-Object class types.

Closes #188.
Merge pull request #196 from square/jw/composition

Forbid modules who extend from non-Object class types.