Gives 400 errors instead of 500 for POST requests for schedules

Resolves https://github.com/rackspace-titan/qonos/issues/1
Merge pull request #3 from isethi/500-bug

Gives 400 errors instead of 500 for POST requests for schedules
Cleared up some inconsistencies in the get_next_job code.