Feature to simplify the write up of the hash config

before this feature the config hash had to be fully written out as a hash.
Now you can write up shorter parts with a '.' in between like the offical
config of Elasticsearch supports.

This closes issue #11