tests/db/model_uiapi_jobprofile_test:

Deleted.
db/schema:

Removed `oq_job_profile` table.
db/models:

Removed OqJobProfile table.
db/schema:

Removed `job2profile` table.
db/models:

Removed `Job2profile` and related functions.
tests/kvs_test:

Removed an unused import.
tests/engine_test:

Pyflakes cleanup.
db/models:

Removed `inputs4job`.
tests/db/routers_test:

Removed references to OqJobProfile.
tests/db/model_risk_exposure_test:

Clean up test fixtures.
tests/db/models_test:

Removed `Profile4JobTestCase` and `Inputs4JobTestCase`.
tests/supervisor_test:

Cleaned up test fixtures.
tests/utils/helpers:

Removed some unused test helper code.