fix the bug reported by Salius

For more details about the bug, please refer to:
http://landoffire.org/forum/viewtopic.php?f=16&t=1471
fix bug reported by Salius

For more details about the bug, please refer to:
http://landoffire.org/forum/viewtopic.php?f=16&t=1472
fix the savior armor can't dye bug
Fix the silver smith complain about missing item bug.
enable Sailor Hat, Caption's Hat and Witch Doctor's Mask
Set the buy/sell prices for Captain's Hat, Sailor Hat and Witch Doctor's Mask based on the history commits.

Also set mdef penalty for Captain's Hat and Sailor Hat according to history commit.
Merge pull request #6 from qiuhw/master

Bug fixes from the last tmw merge