update flask-admin and move it to a module
update db calls to use session
add a basic api based on flask-restless

not really a final solution, but it can probably get pretty far
add admin for apikey and migration
Merge pull request #5 from termie/api

add basic api