Add source/target options to DNS filter

  * Solves LOGSTASH-1489
  * Deprecate resolve, reverse and action options
Add tests for the new DNS filter functionality

  * Also fix some bugs found in the exception handling