fix encode (output) for oldlogstashjson codec.

It was referencing the obj variable which didn't exist
[elasticsearch_river][Fix] use mq.publish_serialized instead of receive_raw

receive_raw is no longer available in RabbitMQ.

elasticsearch_river throw the exception "undefined method `receive_raw'"

This commit fix issues 1298 and 1384
Write a failing test when prefix & include/exclude keys are used together
Fix a bug where field goes missing if include/exclude is used with prefix
Update grok-patterns

Add LOGLEVEL pattern "ALERT"
Make 'if "something" not in [nonexistent] { ... }' succeed

My argument is checking for the absence of a value in a field that doesn't
exist should return true, currently it is false.

This fixes the case where an event which has never been tagged now works with
this logic:

    grok {
      ...
    }
    if "_grokparsefailure" not in [tags] {
      ...
    }
Fix fail() invocation if no config file is given.
Small enhancements to netflow codec

- Add configurable target field for netflow fields, defaults to "netflow"
- Add configurable filter to restrict which versions to accept
Use latest kibana for the flatjar. (LOGSTASH-1416)
Upgrade jruby
Replace older event.type with event["type"]
Shrink port range to 9300-9305. This was done after a discussion with
kimchy about the problem this portrange thing tries to solve - mainly,
this helps avoid logstash when started first from *not* finding the
local elasticsearch server (if there is one) because LS took 9300
forcing ES to take 9301 and logstash never finds it.
Fix memory leak in syslog input. (tcp server)

Remove the client from the clients list when the connection is closed.
Merge pull request #665 from turtlebender/feature/fix-oldlogstashjson-encode

fix encode (output) for oldlogstashjson codec.
When doing number validation, leave a  Numeric as-is and only try to do
float/int conversion on strings. (Fixes LOGSTASH-1441)
Merge pull request #705 from logstash/fix-numeric-handling-in-config

When doing number validation, leave a  Numeric as-is and only try to do
- (backwards compatibility) start working on making 'format' setting act as a codec setting.
- add deprecation message for the 'format' setting
- correctly load the codecs for format's setting
- don't use deprecated things
Merge pull request #706 from logstash/format-backwards-compat

Format backwards compat