Permission fix

* remoted needs to create merged.mg file
* remoted needs to create ar queue
* create directory /var and /var/run also on agent
* on agents, queue/rids needs to be accessed by user ossec