Added samplingInterval and tests to board

I also added a test for this in test/board.js though im not sure I put it in the right place.

refer https://github.com/rwaldron/johnny-five/issues/481