Removed the -d option for get-config.

It was pretty much useless since removing the unnecessary ability to
configure task log directories individually.
Moved some suite config to site config.
Better dynamic host selection.
Clearer documentation of site/user [task hosts] section.
Merge branch 'master' into final-config-changes

Conflicts:
	bin/cylc
	conf/siterc/cfgspec
	lib/cylc/global_config.py
Final documentation update.
Merge branch 'master' into final-config-changes
Merge branch 'master' into final-config-changes

Conflicts:
	doc/suiterc.tex
	lib/cylc/scheduler.py
Merge branch 'master' into final-config-changes
Merge branch 'master' into final-config-changes

Conflicts:
	doc/suiterc.tex
Default to local host settings.
Fix to pass test battery.
Ensure all task state changes go through task.py and the run-db.

Some task state changes (in and out of the 'held' and 'runahead' states,
which has no consequence for other task state variables) were being
actioned by direct access to the task state object without going through
the task proxy class and updating the new run-db.
Merge branch 'master' into final-config-changes

Conflicts:
	lib/cylc/task_types/task.py
Adapt for the new run-db code.
Fix for explicit host sections in user.rc.
Merge branch 'master' into final-config-changes

Conflicts:
	bin/cylc
Run suite shutdown handler at the last.
Merge pull request #245 from hjoliver/run-db-task-states

Ensure all task state changes go through task.py and the run-db.
Merge pull request #247 from hjoliver/suite-shutdown-order

Run suite shutdown handler at the last.

Merged on behalf of @arjclark.