Added a hash parameter $gitconfigs to init.pp

This change allows passing git::config resources to the main class. Also added
class documentation.

Signed-off-by: Samuli Seppänen <samuli.seppanen@gmail.com>