Better flash messages, conditional asset loading, AJAX only usage and now uses POST requests.

We're now only loading our assets when on the 'pages' page.
Flash messages are now a direct result of the PHP response.
Switched to POST request type.
Removes referrer and redirects, ajax only usage.