Merge pull request #6 from DerekMaffett/14_api

fix rebase problems and admin factory typo
start controller tests for api, start refactoring scoping logic out of the view and into the policy file
refactor ordering logic into a scope
add API versioning and index action
improve serializer, refactor code for clarity
add user serializer to return with encounters
pull apart tests for clarity
remove rollback failure logs for test environment
refactor folder structure for controller tests
implement create for api
handle failed create actions
remove update from routes
clean up routes file
add delete functionality for api
add status specification to destroy spec
apply Faker to user factories
add test for policy on index views for resident scoping
add authorize requirement on create action
add authorization logic for destroy action