Fix small bug in posting jobs

Not a bug as much as a discrepancy between the docs (and expected behavior of the API) when it comes to posting jobs. Now one does not need to wrap the `jobs` argument in a dictionary containing `jobs: {..}`. This commit also adds backwards-compatibility for code that used to work around this bug.