[FLINK-827] KeySelector- Example

Adding an example word count example which uses KeySelectors.