oq-ui-client2/src/exposure/exposure_export.js:

Cleaned up the exposure app js code in the exposure template
and moved it to this file.
oq-ui-client2/exposure_export.html:

Cleaned up js code and moved the bulk of the app code a separate js
file.