Cleaning up a lot of the JS for Issue #435

Removes app.js
+  Moves logic to features.js where needed
+  Moves logic to base.html template where needed.
+  Completly removes all AJAXIfy work, it was turned off, never used and was a pain to maintain. 

Removes the references to App Cache logic