QuickSpec: support assertions in Objective-C specs

Because exampleGroups() was defined as a class method, XCTest assetion
macros were unavailable in Objective-C specs (since they expand to
include a reference to `self`, which must be an instance of `XCTestCase`).
Redefine exampleGroups() as an instance method.