add invoke dependency to requirements
add PEP 386-compatible dev version numbers
add invoke task to change the version number

This updates the version number in version.py
and updates the headers in history.rst
add dist to .gitignore
move docs watching to invoke tasks
add deployment task