Add custom handler for routing errors
Fix variable typo and double-free error
Break long lines
Static variables aren't initialised in a thread-safe way, so make this non-static. This is an error path, so no performance impact.
Merge pull request #98 from Metaswitch/quiet_routing_errors

[Reviewer: Alex] Quiet routing errors