add browser field to package.json

Pull environment detection of out uuid.js and use the browser field.

This is better for smart bundlers like browserify which will pick up on
the browser field and package the module intelligently for client side.
move non-test files out of test dir
add testling info to package.json