Add AMD support.
Test for AMD support.
Test AMD tv4 module more accurately
Merge pull request #123 from meltuhamy/requirejs-support

Add AMD support. Closes #77