Improve datadir fuctionality

Initally when the datadir option is set it would only create the data dir but not set it in the config.
This improvement will allow it to be created ( a single dir or an array of dirs ) and also set this in the config file
Merge pull request #133 from elasticsearch/data_dir

Improve datadir fuctionality