add project.id in created jobs as it is required
change job structure

owner is not a basestring anymore, nut a dict with 2 keys
'owner' : {'id': ObjectId, 'klass': basestring}
to allow a owner to be a Project or a Workflow

update test_DBManager, test_JobsTable accprding to new Job structure
update sim_submission to create more realistic jobs (with owner and
project)
the mongokit 0.9.0 fix inherited queries

so we can query Jobs and get back ClJob or WorkflowJob
(job must have _ype in its structure)
add directory cleanning before before launching a new simulation
rollback to debug pupose
add method to create job directory
debuging
remove some ugly print (for debugging)
fix tests as allowed transitions between status have been changed
fix style to following pep8
fix style accordding pep8 rules

and replase old style formatting string with format method
fix coding style according pep8 uncomment some logs
fix coding style according pep8 recommendation
use new status TO_BE_BUILT BUILDING TO_BE_SUBMITTED SUBMITTING and
UPDATING