Item eat call back

This pull request, as requested in <a href="https://forum.minetest.net/viewtopic.php?f=3&t=9179">this thread</a>, adds a call back to built in item eat function.