lots of database changes, added pending job object, added contact_id field to jobsubmission table, added shit load of braindb scalar methods