Make filter based on context ID instead of name

Also added unit tests and separated AMQP from native
ApplicationContext event features.

Fixes gh-6