Tests use separate DB in 'test' mode
Updated api to use json-api style POSTs
Merge branch 'api' of github.com:Chandler/flesh into dev