Remove some unused imports
Refactor: Parse requirements in separate function

The same code will be needed in JobTypeIndexAPI.post(), so a separate
function for this makes sense.
Allow including requirements in jobtype POST
Tests for including requirements in jobtype POST
Changes from jobs_api to parse_requirements

This is now a nearly completely verbatim copy-paste of
parse_requirements() from jobs.py.  As soon as both branches are merged,
this should probably be refactored so we don't have two nearly identical
functions for this.
Bugfix: Variable req has been renamed to entry
Catch ValueError from parse_requirements
Merge pull request #116 from guidow/requirements_in_jobtype_post

Requirements in jobtype post