Basic autotest functionality, improved error handling
Merge branch 'master' of github.com:aphyr/prism