Git.init() extended with bare parameter

* If bare is set to true, the initialized repository will be a bare
repository and a regular repository (with the working copy) otherwise.
* Tests added for both types of invocation: regular and bare.