Make order of exercises everywhere the same (view, weight log, etc.)

This fixes #42
Include the individual app's JS files in the template

There are some complex interactions, e.g. when loading forms per AJAX
as jQueryMobile and its redirections. This is the easiest fix for this.
Disable AJAX navigation after submitting a form on mobile version
Improve the presentation of exercise images
Move weight log link up since it's more important