Merge pull request #117 from gollum/rc

Merge rc into master for new release
Modify gemspec version and date for new release.
Release 4.0.0
Release 4.0.1
Fix search behavior and tests for bare repos.
Merge pull request #121 from repotag/master

Fix search behavior and tests for bare repos.