Added checks for incorrect usage of innerHTML. Fixes #1370

It's the intuitive thing to try, if you haven't read about dangerouslySetInnerHTML, so it's worth checking if for no other reason than to hint to the user where they might look for the supported function.