Merge pull request #111 from geraintluff/custom-validation

Hook for custom keywords
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