Add onCall(n) and friends to SinonStub definition

These were added in Sinon 1.8, and the definition claims to be Sinon
1.8.1

From documentation:
"As of Sinon version 1.8, you can use the onCall method to make a stub
respond differently on consecutive calls."

http://sinonjs.org/docs/
ui-router fix

move parameters() and format() from IUrlMatcherFactory to IUrlMatcher.

Also adds tests for IUrlMatcher