1.5.1 meta
Revert "calling spy.reset directly from stub.reset"

This reverts commit 3868a5a9a30a1441ed0bc3df9a3d04a5df7f7633.
Revert "added stub.reset(). clears yields* and callsArg* sequence."

This reverts commit ec5a0f30011ecd40879624c5c2174dffa113d27c.
Test that documents behavior of stub.reset
1.5.2 meta
stub.resetBehavior, resets callback and returns

stub.resetBehavior:
resets the behavior that was defined by previous stub.callsArg*, stub.yields*,
stub.returns* calls.

See #209 and #195
fix typo in test name
resetBehavior resets fakes created by withArgs

As discussed in #212, resetBehavior
- when called on the "top level" stub, also resets "children" that are
  created with "withArgs"
- when called on a child that was created with "withArgs", resets the
  child, does not reset the "top level" stub
group resetBehavior tests
ensure that resetBehavior does not touch recorded calls

Add some regression tests that ensure that properties that would be reset by
spy.reset are not affected by stub.resetBehavior.
These are basically the tests for spy.reset in reverse.
Added alternative build command to README
Write a test for spy.printf
Make formatter %C put empty line between multiline calls
Merge pull request #203 from alFReD-NSH/spy-formatter

Make spy formatter `%C` have empty lines
Adds logging to the FakeServer

To enable (in node or a modern browser):
server.enableResponseLogging = true;
sinon.log = console.log;

This adds to the fake server the capability of logging responded
requests. This feature is opt in. What will be printed is a beautified
stringify of the request and response objects.

If the current environment does not support JSON.stringify the logging
fails silently.
Revers changes made by fccbac45ccb2c366f0eb1fec65f95e3ce8b37b2b

By some reason, in github, all the lines appear as changed but that is not the case and in
my machine only the lines I added apper in the diff.
Going to do every again to see if it works.
Adds logging to the FakeServer

To enable (in node or a modern browser):
server.enableResponseLogging = true;
sinon.log = console.log;

This adds to the fake server the capability of logging responded
requests. This feature is opt in. What will be printed is a beautified
stringify of the request and response objects.

If the current environment does not support JSON.stringify the logging
fails silently.
Now uses sinon.format to format the object instead of JSON.stringify

By using sinon.format it is no longer necessary to have logic that feature detects JSON.stringify
and the formatting is now consistent with the rest of the library.
Removes the usage of a flag to activate the fake server logging

Its necessary to opt in by setting sinon.log, so this flag was redundant.
wrote sinon.createStubInstance.