Fixed issue #329. User bookmark count works with only date now
Add JS tests for the user stats UI.
Fix unit tests post merge
Verify api key is valid in ping call.

- Fixes #344