Warn if shouldComponentUpdate returns anything other than true/false

This commit should handle the issue raised in #1391