Add requirejs to jshintrc.
Move ajax function to app/utils.
Make ApiStore represent data as promise directly.

Still more tests to fix, but this is much better than before.