do not test non-element text nodes; Fixes #143
add grunt file to generate pkgd files
Fixes #127
tick version v3.1.5