Merge pull request #120 from ndawe/master

[MRG] 100% test coverage and bump to 3.1.0
Merge pull request #121 from ndawe/master

[WIP] add coveralls