Add tests to cover codec autoswitch for stdin + tcp inputs

json->json_lines & plain->line

Tests for #1392
Closes #1394
inputs/base: Copy the codec's charset when switching.

Includes tests
Ignore RubyMine/IntelliJ dirs
consolidate java grok patterns
Merge branch 'pr/1518'
Update to reflect new JRuby default and USE_RUBY env option
Fixes spelling in en.yml

Closes #1544
Fix a missing coma in doc for remove_field

Closes #1490
Use the newer { "fieldname" => "pattern" } for grok filters.

Replace the older grok style:

    { match => [ "fieldname", "pattern" ] }

With the newer one:

    { match => { "fieldname" => "pattern" } }

Also see https://github.com/elasticsearch/logstash/issues/1499
for more examples.

Closes #1516
Evaluate dynamic fields in event when used with gsub

Closes #1529
Add tests for issue to reproduce behavior

Fix break_on_match issue while evaluating multiple patterns

Closes #1547

Make better exception message

Add more specs for inputs with arrays

Closes #1547
Add tests for issue to reproduce behavior

Fix break_on_match issue while evaluating multiple patterns

Closes #1547

Make better exception message

Add more specs for inputs with arrays

Closes #1547
call vendor-geoip instead of $(GEOIP) in prepare-tarball
Closes #1563
Merge remote-tracking branch 'upstream/master'
use bundler compatible ruby version string