Create .npmignore save 2.5mb when publishing

Create .npmignore save 2.5mb when publishing

Modernizr lib depends on Grunt Actual
cast parent of subproperties to bool if they are not ones already
Merge pull request #1281 from patrickkettner/castBool

cast parent of subproperties to bool if they are not ones already
Merge pull request #1277 from thanpolas/add-npmignore

Create .npmignore save 2.5mb when publishing
Fixed errors thrown by `supports`, `getrandomvalues` and `flash` detects:
- `supports` incorrectly assumed that `window.CSSRule` would always exist
- `getrandomvalues` hit an odd bug in Safari, which exposes `window.crypto` but it’s undefined
- `flash` was trying to attach an `<embed>` element to the `<html>` element, which isn’t valid – so switched to using (a potentially fake) `<body>` instead
Merge pull request #1284 from stucox/1284-browser-errors

Test errors in some browsers
Adding :valid and :invalid tests.