Handle lexer errors properly. Fixes #2.
Updated CherryPy config to not show stack traces. Partially fixes #3.
Redirect invalid URLs to the main page. Partially fixes #3.
Restricted endpoints to only allow the required HTTP methods.
Ignore additional URL parameters. Fixes #3.
Removed unused username parameter.
Removed trailing whitespace.
Fixed bug not loading IDs with underscores.
Fixed extra newline being added on save.
Merge pull request #6 from DanielGibbsNZ/master

Various improvments.