Increase sleep times for testing the port

On busy test systems it can happen that ES is a bit slow in starting up
Increasing the sleep time should help
Implement proxy earlier and try out new curl with retries
Add more checks to ensure ES is able to serve requests
Merge pull request #127 from elasticsearch/improve_testing

Improve testing
Add option to use stages for repo management instead of anchors
Merge pull request #128 from elasticsearch/repo_stage

Add option to use stages for repo management instead of anchors
Update files for 0.3.2 release
fix inline docs
Add an ec2-linux osfamily option
Merge pull request #132 from spohnan/ec2-linux

Add an ec2-linux osfamily option
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
Fix for empty merge variable

Pre puppetlabs stdlib 4.2.0 when trying to merge a none existing Hash variable resulted in a failure.
This workaround solves it for now.
Add puppet 3.6.x testing to travis
Add retry to plugin define

In some cases plugin installs / downloads can fail.
Now we retry it several times