Switch tests to use Mocha, fixes #197

Looks like there maybe a small problem with should.js, as with #160
(function(){}).should.be.a('function') fails because .should.be is
an object instead of a function, but this works if you replace it with
(function(){}).should.be.a.Function. This is fixed here, but I don't
know why it would be a problem to begin with.

All socket tests were merged into test/socket.js, for better or for
worse, but can be split back up into individual files if useful. This
gave the moch spec reporter better grouping than having related tests in
separate files.
Move socket close out of afterEach, fix done reference

Signed-off-by: Eli Skeggs <eskeggs@globesherpa.com>
Debugger mode
Continued fix for #197, from PR #237.

Fixed timeout failures and rebased to current master.
All socket tests were splitted up again because the combined version has become bloated. It can be combined again
if better grouping is desired.
Testing patch with Travis
force rebuild
force rebuild
I had thought I had accounted for the eventual removal of zmq_event_t but I missed it. This will keep zmq_event_t for only <4 versions
Merge pull request #317 from f34rdotcom/monitor_4x_fix

Fix for recent changes in zmq4 completly removing zmq_event_t
Merge pull request #309 from yoneal/fix-197

Continue switching tests to Mocha
Added module Context.get/set methods for get/set of default context options
Changed int64_t to int
Used Int32Value() instead
Merge pull request #324 from yoneal/context

Added module Context.get/set methods for get/set of default context options
Fixed the case where multiple exceptions would render a socket (router in my case) unusable.
Fix travis.yml since it's broken after their latest release.
Fixed my puny bash skills
And some more travis bash goodness
Merge branch 'master' of github.com:JustinTulloss/zeromq.node into fix-throws
Merge pull request #337 from ronkorving/fix-travis

Fix travis.yml since it's broken after their latest release.