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.