Finished merge
DB connection on deviceready
draft to register preferences
fixing pull
fixing pull
fixing pull
fixing pull
reduce database storage size
Merge pull request #5 from adrichman/databaseStuff

starting database stuff
Got rid of superfluous controller
Added results page, template and controller
Refactored file structure
Delete controllers.js
Delete services.js
Deleted commented lines
Cleaned console logs, added state.go to results page in cards ctrl
Created server, added json objects, defined get and post routes
register vote and form response object
update gitignore
prevent blank card at end