Update db migrations to add jobs indexes and make status non-nullable

Adding indexes to jobs timeout and status columns.
Make status non-nullable with a default of 'QUEUED'.
Fixed / expanded some tests.
INDEX_STATUS_NAME and INDEX_TIMEOUT_NAME are unused