Mock: Add numberOfCalls parameter to mockery
Mock: Add numberOfCalls parameter to mockery

Add a new property, numberOfCalls, to mockery, representing the number
of times the given Invocation can be matched; inf is used to represent
infinite matching. Add the appropriate check to code which finds the
mocked return value. Also refactor that code to make it slightly easier
to read.

vperic/mmockito