build pkgd.js with RequireJS
add RequireJS docs
Merge branch 'master' into site