Added AMD support

- Cleaned up the factory loader
- Tweaked a bunch of tests where the date was not parsing correctly
- Tuned the the .jshintrc file

The date failing test might actually be a problem in the date parser. I haven't looked into it, but changed the time to one that doesn't fail. It might be worth looking into.