Mask compile-time shift/reduce conflict due to if statement ambiguity
httpd: remove bogus error log
Step 1 in enhancing drouting:
- GW - load state and outbound sokcet from database
- carriers - load state (as separate field) from database
- cleanup - remove the avp "type" as no longer used
(work in progress)
Fixed restoring SOCKET info from AVP during failover
Added exec_threshold parameter to cachedb_* modules in order to be able to track slow queries
Reset the lump cond flags when the condition evaluates to false.

In case there are multiple branches, the conditions can evaluate
differently on each branch - which might lead to bad counting of the
added lumps ( used by the dialog module for dlg validation )
Step 2: use the socket info during routing to GW
Fixed keeping turns on handling PUBLISHes for the same presentity - when presentity is deleted (due a unPUBLISH) do not do any turn related ops anymore
Reported by Damien Sanders
Do not free the header string as it is part of the lumps (and freed together with the lumps).
Reported by Jeff Pyle.
Fixing bug #126