optional hash of params to Config constructor

This change allows to pass an optional hash of params to the Config constructor
Merge pull request #96 from gnagno/master

optional hash of params to Config constructor