Improve slurm parser input checking.

- Change asserts to if...raise ValueError.
- Add examples to unit test to check for negative durations and StopTime
  less than StartTime.

Using asserts for checking input from external sources is a bad idea as they are not specific in their exception type and they can be skipped if Python is run with optimisations. (A good explanation here: https://mail.python.org/pipermail/python-list/2013-November/660401.html)

Also commented out an unimplemented test as the decorator for skipping tests isn't available in Python 2.4.