Added bugs demo (for MSIE8 etc)
Fixes #9 'type' is null or not an object
Fixes 'regexCache' is null or not an object
Test for undefined placeholder (already fixed in mainstream)