Refs #8 - In README, converted examples into doctests

Hi,
Here is a first proposal around testing, using nosetests and doctests: I mostly turned examples in README into doctests, then included them in the test suite.