major update: persistent storage ported from FireBase to a local REST API served by Sinatra. TODO: use Restangular.

It is important that Angular is set to allow CORS. A single line activates this for Angular.js's $http service inside app.js.