Run doctest and pep8 in test suite.
Add matplotlib to dependencies
Refactor test scripts
Give travis a lighter load. Make drone.io test sundials too.
Fix bug in doc building script. Tweaks related to tests.
Merge pull request #2 from bjodah/doctest

Run doctest and pep8 in test suite.