Added checks for incorrect usage of innerHTML. Fixes #1370

We never throw strings because the stack is attached to the Error object. We also compress invariant error messages. So we should use the invariant module even if the first argument is false, although in this case it should be `props == null`.