Support writing custom matchers under ARC

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