cylc/cylc#140: cylc.rundb: 1st attempt on a simple DAO.
Merge branch 'master' into 140.rundb
Merge branch 'master' into 140.rundb
Merge branch 'master' into 140.rundb
Merge branch 'master' into 140.rundb
Merge branch 'master' into 140.rundb
Merge branch '140.rundb' of github.com:matthewrmshin/cylc into 140.rundb
Merge branch 'master' into 140.rundb
Merge branch 'master' into 140.rundb
Merge branch 'master' into 140.rundb
Merge branch '140.rundb' of github.com:matthewrmshin/cylc into 140.rundb
Merge branch 'master' into 140.rundb
Merge branch '140', remote branch 'matthewrmshin/140.rundb' into 140
initial basic linking in of modified version of Matt's rundb.py

 * linked rundb.py in to task.py to see if it would work
 * modifications from mshin's rundb.py to fix etc.
working version of db committing.
Merge branch '140', remote branch 'upstream/master' into 140
cylc/cylc#140 Basic working version that logs task events.

 * task.py status setters/getters extended
 * Database stored in suite base directory
 * Submit, succeed, fail etc. logged in task events
Tidying up of task class.
cylc/cylc#140 States recorded and updated.
tasks now store their submit number as provided by the db.