Wrote unit tests for annotations and listeners.
Added phpunit.xml.dist.
Fixed BackUrl constructor signature.