export/core:

Refactored the `makdirs` deco. It's now `makedirsdeco`; `makedirs` is a
util function which handles the directory checks/creation logic.
tests/export/core_test:

Updated tests for `makedirsdeco`.
export/risk:

s/makedirs/makedirsdeco/g
export/hazard:

s/makedirs/makedirsdeco/g
export/core:

Changed the LT_PATH_JOIN_TOKEN to '_'.
db/models:

Updated a few tables to specify one-to-one FK references to `uiapi.output`.
export/hazard:

Replaced `_get_end_branch_export_path` with `_get_result_export_path`.
export/hazard:

Slightly different file name for monte-carlo vs. enumeration. In the
enum approach, don't include the realization number.
export/hazard:

Don't support gmf_scenario in _get_result_export_path. We need to
handle export paths a bit differently.
tests/export/hazard_test:

Added a bunch of test cases for `export.hazard._get_result_export_path`
export/hazard:

Hazard exporter functions now use `_get_result_export_path`. Things are
a bit simpler now.
export/hazard:

Removed some unused imports and constants.
export/hazard:

Removed the `gmf_scenario` case from `_get_result_export_path`.
qa_tests/hazard:

Updated logic tree branches in expected XML text; the branch separator
token has changed from '|' to '_'.
Merge pull request #1127 from larsbutler/hazard-exports-org

Organization of hazard exports

[r=matley] [f=1163276]