add gitignore, ignore *.pyc
rename version to __version__