Small changes to accomodate the an import change in nrmllib
Merge branch 'read-logic-trees-from-db' of https://github.com/larsbutler/oq-engine into streaming-xml-writer
removed hg cache
Merge branch 'master' of https://github.com/gem/oq-engine
Merge branch 'master' of github.com:gem/oq-engine into streaming-xml-writer
Merge pull request #1258 from gem/streaming-xml-writer

Changed an import from nrmllib
Merge pull request #1259 from matley/optimize-classicalpsha

Remove cache from HazardCurveGetterPerAsset
bin:

Moved the openquake and oq_create_db scripts to openquake.engine.bin.
bin:

Added __init__.py to bin module.
packager.sh:

Updates to package script after some things have been rearranged in
bin/ and openquake/engine/bin.
tools/test_migration.py:

Replace create_oq_schema with oq_create_db.
bin:

Added symlink to openquake/engine/bin/openquake and oq_create_db.
bin, packager.sh, openquake/engine/bin:

Moved `openquake` to `oqscript.py` and update bin/openquake
symlink.

Also removed a `mv` statement from the packager script.
Merge pull request #1261 from larsbutler/setup-py-and-bin-folder-fix

Fix for installing source code via pip/git

[r=nastasi-oq] [f=*trivial]
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.)
schema changed. added stddev_loss
added writers support for computing stddev
fixed migration. adapted calculators to use LossCurveCollection. Added regression test for stddev of losses
added event_loss_curve
fix qa test. loss_curve -> event_loss_curve