resolve dependencies when installing from pypi
added .egg-info and some more patterns to gitignore
Merge pull request #3 from yaph/master

Resolve dependencies when installing from pypi