Pattern matching for handling ApplicationEvents

Introduced Scala wrapper for ApplicationListener to allow for pattern
matching ApplicationEvents.
Merge pull request #12 from nurkiewicz/application-listener

* application-listener:
  Pattern matching for handling ApplicationEvents