Add simple test script for the JobQueue class.

refs #135, #136, #273
Make test script more usable from IPython.
More testing with different queue categories (users).

refs #135, #273