Restful API-Updated 2b and 2b test

Finished the api (still need comments) able to get and set the
information on the user in the database. Debugged the mapspec with
jslint and made sure the database only returns the points in the given
window range.