Changed module definition style to also include AMD (RequireJS etc)
Fix for type in return statement
Merge branch 'support-amd-loaders' of https://github.com/andru/supermodel

Conflicts:
	supermodel.js