Add more helpful invariant if you're updating an unrendered component
move lifecycle check into replaceProps instead of updateComponent
fix formatting and test for correct error
Merge pull request #294 from clayallsopp/better_update_msg

More helpful message if you update an unrendered component