change wrap function into template
added test for r.js optimization
possible fix for #59. added new UMD pattern
added basic node.js loading test
ensure node.js loading works
Merge branch 'issue/59'