Fix typo in the guide introduction
Fix handler state change in cowboy_rest