Allow datavalues in furnace recipes

Straight forward, add the item durability (datavalue) to furnace
recipes.
I have no idea what this will do if you try to make a furnace recipe
from a sword or something.
Make the random command more random

Try to avoid repetition
Fix 'on player walks over notable'

The notable manager wasn't prepared for how dLocation notables work.
This patches that.
Use dMaterial names in item.formatted

This way we get names like "lapis lazuli" instead of "ink sack".
Catch a rare hurt command bug

Gently warn when a nonliving entity is hurt.
Add an npc owner mechanism

A simple and straightforward way to set an NPC's owner.
Stop prematurely trimming events

The EventManager handles that just fine, no need to do it manually.
Doing it manually just ruins the event manager's other handling.
Merge pull request #798 from mcmonkey4eva/master

Pull request for various fixes