Update test/pin.js to use the MockFirmata()
Use MockFirmata and close stdin so the test quits right away.
Add button and Capabilities to the list of MockFirmata users.
Rewrite ping tests to use MockFirmata and not use serial data. However, I'm not %100 confident in the change event tests. It's no worse then it was before but the behavior seems suspect.
Update pir tests to use MockFirmata and FakeTimers
Linting and leftover vars.
Rewrite sensor.js to use fakeTimers and mockFirmata
ShiftRegister to use mockfirmata
Merge branch 'update-pin-tests' of https://github.com/rwaldron/johnny-five into update-pin-tests

# By Francis Gulotta
# Via Francis Gulotta
* 'update-pin-tests' of https://github.com/rwaldron/johnny-five:
  ShiftRegister to use mockfirmata
  Rewrite sensor.js to use fakeTimers and mockFirmata
  Linting and leftover vars.
  Update pir tests to use MockFirmata and FakeTimers
  Rewrite ping tests to use MockFirmata and not use serial data. However, I'm not %100 confident in the change event tests. It's no worse then it was before but the behavior seems suspect.
  Add button and Capabilities to the list of MockFirmata users.
  Use MockFirmata and close stdin so the test quits right away.
  Update test/pin.js to use the MockFirmata()

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>

Conflicts:
	test/button.js
	test/mock-firmata.js

RESOLVED.