api: refactored the repository function in its own file
api: added test to check for the correct response content type header when json is returned.
api: Repository is now returning the correct content-type header.
api: repository url is now also returning JSON when HTTP errors are being returned.
repository: Added helper function to the manager to test if a repository does exist.
api: repositories_server.go -> repositories_server_test.go
api: added create entries endpoints for repositories. Added basic test cases.
api: Implemented validation test for public key authorization
api: struct fields changed from private to public. Added json formatting.
Merge branch 'master' of github.com:hoffie/larasync