add .npmignore
fix tests

All browsers have default values for el.getBoundingClientRect() when then element is not attached to the document. Only ie throw an error...
Merge branch 'master' into gh-pages
update build