Fix percentiles on metrics filter
Fix setup_java so $JAVA_HOME can be used.
correct copy destination to $basedir
Merge remote-tracking branch 'upstream/master'
Handle $JAVACMD properly while still respecting $JAVA_HOME
apply on_success actions only when date parsing succeed
Fix spec failures on non english systems. Solves #1247
Add comment to document the percentile
fix for undefined method + for nil:NilClass for invalid paramters
Start ES embedded server before creating a client.

This resolves a startup-delay problem where Node/Transport protocols
would attempt to find a master before continuing, having no master,
After this patch:
waits for a timeout.

Manual test:
    % time bin/logstash -e 'input { generator {  count => 1 } } output { elasticsearch { embedded => true } }'

Before this patch:
    WARN: org.elasticsearch.discovery: [logstash-ds4172-27071-2010]
    waited for 30s and no initial state was set by the discovery

    bin/logstash -e   20.50s user 0.70s system 45% cpu 46.793 total

After this patch:
    bin/logstash -e   21.53s user 0.52s system 115% cpu 19.070 total
Make embedded => true respect `bind_host` setting.
Copy-paste typo fix
Typo
Merge pull request #1267 from wiibaa/patch-1

A few typos
Initial commit of package acceptance testing
Add gemfile
Fix minor bug in init script found after acceptance test
Fix minor issues with acceptance test
Merge pull request #1268 from electrical/acceptance_testing

Acceptance testing
Improve package acceptance tests

- Add proxy support
- Add extra sleep times
- Add extra checks