Added verification of new proper form data.
Now possible to ignore signature while debugging.
Checks to see if key is valid.
Revert "Checks to see if key is valid."

This reverts commit 8d0e4ac6237282367b374b6683f6276e372d4604.
Checks to see if key contains valid characters.
Added a debug_rest constant.
Don't even need to store these in URL safe form.
Big restructure to REST route logic. See desc.

REST routes now check to see if the debug_rest variable is enabled. When
debug_rest is enabled, the signature of the client is ignored.
Otherwise, the server will respond with an HTTP 400 error.
Removed now-irrelevant comment.