missing require

cosmetic

closes #1345
Add `NaN` support back in to collectd codec

* Add spec tests for NaN support
* Catch warning on NaN with nan_handling set to warn
* Make lambdas ivars and initialize so they can reference other ivars
* Fixed reference to point to ivar
* Streamline ivar declarations in one method
* Improve tests to cover more cases
* Make lambdas not be ivars
* Change idiomatic calling of init_lambdas to reflect lack of return value

closes 1363
Fixing relative path issues left over from flatjar era

Use plugin_path and pattern_path

closes 1377
Automatically choose most correct codec for bytestream inputs.

Now, if you try to use `plain` or `json` codecs with either `stdin` or
`tcp` inputs, it will automatically select `line` or `json_lines` codec
respectively.

Right now, many users try to use json codec with tcp input. This
*should* work, but due to technical limitations[1], it does not.
To compensate, we have always provided a json_lines codec to help
parse "streams of line-delimited json" which is what most folks
seem to be handling these days.

[1] I haven't found a JSON library capable of processing a byte stream.
Jackson has one, but it requires an input stream model which logstash
does not currently expose. Future work will make this possible.

Related: #1391
fix stdin message handling & specs

closes #1386
Pass correct HOME env into chroot

Without this patch the logstash isn't able to start on Debian 7 when using file input, as both HOME and SINCEDB_DIR aren't set in chroot.
initial spec for pipe input

removed logging

fixed encoding header

closes 1385
Don't install development gems.

For whatever reason, the 'development' group is installed by default via
bundler. This was not intentiona.

The effect is that we might be unintentionally violating a dependency's
license (term-ansicolor is GPL2) by including it in our release.
Definitely do not wish such things.

With this patch, the next run of `bin/logstash deps` shows all dev
dependencies being removed:

    Removing coveralls (0.7.0)
    Removing docile (1.1.3)
    Removing kramdown (1.3.3)
    Removing rest-client (1.6.7)
    Removing simplecov (0.8.2)
    Removing simplecov-html (0.8.0)
    Removing term-ansicolor (1.3.0)
    Removing thor (0.18.1)
    Removing tins (1.0.0)

Fixes #1372
fix external command invocation
changelog for 1.4.2
version bump to 1.4.2
Merge branch 'bump_142' into 1.4
Fix missing require
Fix typo
fix connection threads tracking leak

better mutex name, loop with while true

event per connection & thread cleanups specs

remove leftover

closes #1509

Conflicts:
	spec/inputs/tcp.rb
Disable coverage for now

This is to make tests run. Currently we are not using coverage reports,
and a recent fix to remove development dependencies from the normal
installation has caused coverage dependencies to be removed and thus
fail.

We will revert this once we figure out how to make tests run with
separate bundler groups.
Reference github issues now.

Hosted Jira (logstash.jira.com) is currently busted because we have
exceeded the maximum number of users that platform can accomodate
(according to Atlassian support). Until that is resolved, let's point
everyone at github issues instead.

closes #1508
Add tests to cover codec autoswitch for stdin + tcp inputs

json->json_lines & plain->line

Tests for #1392
Closes #1394

Conflicts:
	spec/inputs/tcp.rb
inputs/base: Copy the codec's charset when switching.

Includes tests
Update ES version docs

ES version 1.0 or greater is now supported by all protocols.

The Elasticsearch eng team has tests to ensure client nodes from all ES versions >=1.0 work with all ES clusters version >=1.0