Tidy module structure: rename job_run to action

Also added an admin directory, and moved the state machine
and directories modules there.
test: add dummy tests for untested modules

This is to ensure each module is at least imported by the test
suite (other than web modules).
OMP: read commentstatus only where obsactive=1
Schema: add date_obs column to obs table
Web: use observation date_obs to make comment URL

The OMP requires that the datetime given for the comment matches
the observation's date_obs.
Merge branch 'master' into temporary-qa-indexes