Dispatcher cleanup
Idle state for NPCs

NPCs will no longer move or talk when there aren't any spectators. This
means less getSpectatorsInternal calls, thus a decrease in CPU usage.
Fix party shield bug
Revert NPC idle state

The code wasn't reliable, players could remain in the playersSpectator
set as dangling pointers.
Scheduler/Tasks: cleanup
arch detection: add more architectures
fileloader/items: fix common realloc errors reported by cppcheck
commit 0569633f7e50f994023edd9795379c0f2cb8f7ac forgot to add headers
small fix, strict stuff
Revert "fileloader/items: fix common realloc errors reported by cppcheck"

This reverts commit 17c21ce46414fba6f6ae3a4f398bfa0d341f068e.

The bad allocation handler is spiffy enough on it's own.
Merge pull request #136 from decltype/master

Dispatcher/scheduler cleanup
Items code cleanup

* Use std::vector instead of our own Array class
* Rearrange data members for memory and performance
* Move bed checks to parseItemNode instead of iterating all items again
Code cleanup
Chat channel scripting bug fix and cleanup
Move doCreatureChangeOutfit to compat.lua
Fix bug in NpcScript::onPlayerEndTrade
Update npc.cpp
Merge pull request #138 from sn3ejk/patch-1

Update npc.cpp
Use 127.0.0.1 instead of localhost for mysqlHost
Code cleanup/improvements