scaffold public/pkgname.js for karma tests

linnovate/mean#539
Merge branch 'master' into network2