[#1004] Move Javascript to the Bottom of the Body

* Move all Javascript Includes to Bottom of the base.html and
  mobile/base.html templates.
* Move extra_js Blocks Below main Blocks in the pages/form.html and
  pages/gallery.html templates.

closes #1004: JS should be at the bottom of body
Widget js shouldn't need staticfiles handling
Allow local testing of STATIC_URL containing host.
Merge
Fix bad commit