Adding check for Class types

Stubbing a selector in the following way would fail:

```
[myObject stub:@selector(doSomethingWithClass:) withArguments:[NSString class]];
```

The Class argument was being treated like a non-object primitive.Adding check for Class types