Add assert JS/css functionality for use by codepen

Allows codepens to contain asserts with a pass or fail badge.
Add assert checker for NaN
Introduce iffe pattern for codepen code
Simplify argument checking for asserts
Merge pull request #4 from matthewdunsdon/enhancement/add-asserts-to-codepens

Add assert JS/css functionality for use by codepen