Mesecons support, fix sounds

Fix sounds so right closing doors sound like they're closing, also add
support for mesecons to both doors and gates.

TODO: handle already placed doors better
Detecting whether existing doors are closed
Got calculate closed working

Fixed isSolid, figured out when closed has not been set, added a way to reset closed by punching for debugging
Remove spammy debug messages
Merge branch 'master' of github.com:cyisfor/homedecor into mesecons

Conflicts:
	doors_and_gates.lua