Changed scheduler models to use explicit field names

Previously scheduler was using select * style queries to fetch
objects from the database, that stopped working when south migration
changed the order of the tables. This change uses explicit field
names in select statements making more robust.