Silence console.error in ReactDOMInput-test, fixes #531

This test is expected to throw but because of ReactErrorUtils.guard which uses console.error in __DEV__ it also logged the invariant error to the console. This change fixes it by temporarily stubbing out console.error.