Python 3 support

Fixes #107 
`nose` can probably be removed now.