Docstrings
Contracts interface
Merge pull request #512 from ChrisBeaumont/contracts

Setup PyContracts interface