Create logs for all actions that cause changes

* Create a log function in BaseHandler that stores logs in ndb
* Create an ndb model in `model.py` which auto-generates a key and a datetime
* Add calls to the log function in `main.py` for all actions that cause change
* Modify `main.js` to supply team names to the log calls in `main.py`
* Fix bug in `index.html`