export/risk:

Refactored the risk loss map export so that export to a file-like
object works properly and doesn't break because it's expecting a
file path. (So for example, this fixes the export if you want to
export to a StringIO object instead of the filesystem.)
Merge pull request #1262 from larsbutler/loss-map-export-minor-fix

Minor loss map export fix

[r=matley] [f=*trivial]
implemented validation of time_event
removed remnants
Merge branch 'remove-remnants' into validate-time-event
added README to demos
Merge pull request #1265 from matley/validate-time-event

Validate time_event
Merge pull request #1264 from matley/std-losses

Compute standard deviation of losses
tests updated
added missing init in scenario hazard tests
Merge pull request #1268 from matley/fix-scenario

A couple of fixes to scenario tests
Merge branch 'master' into revise-insured-losses
Merge branch 'fix-scenario' into revise-insured-losses
Merge pull request #1266 from matley/risk-demo-review

Review Risk demos
db/schema/load.sql:

Set the initial DB revision, if the database is being set up freshly.
Merge pull request #1269 from larsbutler/set-baseline-db-revision

Correction of baseline DB revision.

[r=matley] [f=*trivial]
Merge branch 'master' of https://github.com/gem/oq-engine into revise-insured-losses