Added one test for sending of password reset email.

Added .jshintrc for tests.
Added tests for /api/is_authenticated and /api/users/:username.

Added .jshintrc for whole repo.