[#78] Fix bugs when adding doctests to nosetests
[#78] Cleanup travis-ci.com configuration file and enable doctests