Allow Index.add() on bare repositories
Merge branch 'moshevds-0.3' into 0.3

Backport of https://github.com/gitpython-developers/GitPython/pull/131