submit commands via queryhandler socket

this avoids naemon segfaulting on submiting external commands
like host/service check results which itself call other nebmodules
broker events which then leads to segfaults.

Signed-off-by: Sven Nierlein <sven@nierlein.de>
core command query handler move to command

Signed-off-by: Sven Nierlein <sven@nierlein.de>
updated gitignore

Signed-off-by: Sven Nierlein <sven@nierlein.de>