Add token-based authentication for API

Fixes gh-17.
Fix untestable (?) bug
Use Python 3 style for super
Upgrade ember-cli version
Ignore trailing whitespace in diffs