fixes error & passMessage scope issue
adds js beautify & nodeunit to gruntfile
adds stream crud test