Standard way of converting models to dictionaries
New top level api controller
New API team controller
Return 404 and some cleanup
A bit of a style cleanup
Rename API controllers
Update cache key and team_id
Some test cleanup and minor team controller fixes
Init inside controllers/api
Make team keys with single digit valid

Fix a bug where the team key regex was incorrectly returning teams
with single digit team numbers as invalid.
Merge pull request #770 from brandondean/api

New API controller and team controller for API