engine/views:

Addded `Access-Control-Allow-Origin` to run calc form responses,
to allow this service to be used in the oq-platform.

This can probably be removed later if we fix authentication and
delegate it to the platform, for example.
templates/run_calc.html:

Turned the run_calc form into a properly structured HTML page.
run_tests.sh:

Added run test script for convenience.
engine/views:

A fix for the hazard/risk "run calculation" views to allow some cross-
site ajax calls.
Better handling of static js libs
engine/views:

Removed some redundant response header patching (for allowing cross-
domain ajax). The decos take care of this.
engine/views:

Removed some commented-out code.
Merge pull request #11 from larsbutler/tweaks-to-make-platform-calcs-work

Tweaks to make platform calcs work

[r=matley] [f=*1234765]