Added class-level stubbing and spying methods

The functionality was probably there, but Xcode did not provide autocomplete and it is not right to use instance methods on the class level.