Allow spies to have 'sub spies' filtered on received arguments
Add withArgs behavior to stubs
Don't use Object.create in sinon.create. In the off chance that someone stubs it, sinon will fail mysteriously
Honour contributors
typeof require is not enough to detect node, also use typeof module
Pass through result from test function in testCase

Adds tests and ensure this also happens when there's setUp and tearDown
Merge branch 'filtered_fakes'

Conflicts:
	lib/sinon/stub.js
	test/sinon/spy_test.js
	test/sinon/stub_test.js
Pass capture groups in URLs to fakeServer function handlers

When using the fakeServer for mockup development, it's convenient
to be able to quickly mock server reponses. This commit enables the
following:

server.respondWith(\/people\/(\d+)/, function (req, id) {
    req.respond(200, {}, "Person " + id);
});
Fix bug: Exception message ended up as "undefined" (string) if not specified
Add pretty printing of all calls when assertions fail

- Adds a sinon.format hook to allow third-party object formatters
- Adds a toString method on spy call objects
- Changes the (private) spyCall.create signature to also accept the
  spy method. It is used to generate the name in the call signature
Allow mock expectations to be consumed in any order; significantly improve errors

- Fixes a bug where expectations where mistakenly only considered in
  the order set.
- Adds a new way of reporting errors that vastly increases insight into
  what actually happened by printing all met and unmet expectations
  including details on what arguments Sinon expected
Allow sandboxes/collections to stub any property

- Only requirement is that the object.hasOwnProperty(property)
Update changelog for 1.1.0
Final tweaks in changelog
Up version
Fix DontEnum bug in extend causing a mock expectation's toString not to be copied in IE
Fix issue #18: sinon.spyCall is not exposed properly in CommonJS
Up version
Add minimal implementation of the DOM Event interface to fake XHRs

- Allows Sinon to play well with SproutCore and others that use
  xhr.addEventListener("readystatechange")
- Original implementation by Sven Fuchs
- Tests and some modifications by Christian Johansen
Update build script to include new event.js file