Move formatTimeLeft into seperate function

Reduce reliance on AngularJS.
Modulise code, remove Angular JS dependency
Restore reading arena and corner args from URL
Display the next match
Add 5-second timeout just before match starts
Abstract out resources