move shims.js to top level
add further unit tests for buffer
add node-crypto