Refactor + use AngularJS

DONE
- [x] Use AngularJS for front-end
- [x] Beef up PHP script to serve "API-style" output
- [x] Support file upload & direct URL submission