Added ply:isCook() and fixed hunger resetting on autorefresh.

* Added ply:isCook().
* Fixed hunger resetting on autorefresh.