Support writing custom matchers under ARC

At present, you can't compile a custom matcher under ARC, as `_EXPMatcherImplementationEnd` contains explicit `release`/`autorelease` calls, which are illegal. This patch adds support for ARC when writing custom matchers.