Improve new_version handling and exempt test and upload from version prompting
Reorganise and lint
Adds tests for `extract_attribute` and `replace_attribute`
Update README to mention `nosetests` or `tox` requirement