Fix templates (rsyslog conf) for loggers who ignore facility

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
Fix format for messages being send remotely

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
Set remote rsyslog configs before local

It is important that the rules processing the remote messages come before any rules to process local messages

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
Stop syslog messages after have been processed to *-all.logs

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
Fix wrong msg send format

Should accept tags with 32+ len, skip severity cuz it was aleady included
(see www.rsyslog.com/sende-messages-with-tags-larger-than-32-characters/)

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
Merge pull request #349 from bogdando/fix_syslog

Fix syslog
Fix escape <%PRI%>

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
Fix "if-then" syntax for rsyslog

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
Merge pull request #351 from bogdando/fix_syslog

Fix syslog: 
* uninitialized constant Puppet::Parser::TemplateWrapper::PRI;
* small refactoring if/else syntax for rsyslog.
disable debug in q-agent-cleanup

+ auto-reformat'
create quantum-metadata-agent manifest for non-HA architecture

FUEL-825
notify l3- and dhcp- agents after creating subnets and routers
cache in _get_agents_by_type
cleanup only ports of this node

Conflicts:
	deployment/puppet/quantum/files/ocf/quantum-agent-dhcp
	deployment/puppet/quantum/files/ocf/quantum-agent-l3
Rescheduling Networks to another DHCP agent

* refactor calls to Quantum API
* add --remove-dead. remove dead agents after rescheduling
* healthy check for dhcp agent (trough API)
* rescheduling networks after succeffuly start agent (in ocf-script)
Rescheduling routers from dead l3-agents to alive
new parametres in quantum.conf + sleeps and logs for rescheduling