Fail with sensible error for unknown itemtypes
Merge pull request #23 from jpritikin/master

Better error msg