adds mocha and should dependencies for testing
adds tests
refactors xpub/xsub
refactored push/pull binding