Add future/past support for events and filter webcast buttons display
Made past check look at within_a_day
Same change for future
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
Merge branch 'removepastwebcasts' of github.com:chrismarra/the-blue-alliance into chrismarra-removepastwebcasts

Conflicts:
	templates/event_partials/event_table.html
Fix Event model within_a_day calls.
Improve date formatting in tables, event details pages.
Fix styles on bulk video add page. Fixes #776
Add refresh team info button to admin console. Fixes #775
restore removed import