* refactored persistence.js to use rethinkdb
* added additional course resource methods to server.js