Bug 963981 - Fix app events controller
Use canonical_name/canonical_namespace for application/domain respectively when using find_by op.