providing accumulator example as proposed in FLINK-828

- shows how to build a custom accumulator (for vectors)
- employ that accumulator for obtaining filter statistics
Would you mind not defining the FilterFunction inline. 
IMO, separating the data flow and the UDF logic is easier to read, esp. if the UDF implements multiple methods.