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
revert back to 1.4.2 and include https changes.