Add late class validation warnings for statics

ES6 classes won't have an early validation step. Therefore I added some
extra validation later on in the process. These would've normally have
been caught by createClass in classic React.
It's the test directly above this one.