presence_dialoginfo: Fix bounds checking by using a helper function.

Reported by: dsandras
> About the bound checking error, the code was cut&pasted from another
> place in the same file where the same error is still present:
> ...

Also I replaced a heap str with a stack one in build_dialoginfo. This
one wasn't freed either unless an error condition was hit.
For topo hiding and fix_route_dialog() usage, do not try do add del lumps for already deleted route headers
(cherry picked from commit 5a119db9031d6231c521367847bf1b3c1b6bb7a5)
Added support for embedded arrays within MongoDB documents
drouting: Rework of all "attributes" AVPs

* now exported at script level using optional function pvar parameters
* by default, they are not stored at all inside the transaction
* stored internally if pvars are given to do_routing|route_to_carrier|route_to_gw
* no additionally required module parameters
* NOT backwards-compatible
drouting: update documentation with latest changes

* also fix some missing paragraph tags
pi_http: run DB_UPDATE commands with prefilled values
LOCAL Route support enhanced :
    - serial forking for UAC transactions added
    - possibility to use ONREPLY and FAILURE routes for UAC transactions
    - ability to use (transaction wise) AVPs, flags, timeouts
    - DNS based failover works now for UAC transactions (solving #140)
drouting: fix compiler warnings
 - * may be used uninitialized in this function
Forgotten file from commit 1db2fc (local route changes)
Reported by Ovidiu Sas.
Fixed setting timeout (via script vars) for UAC transactions
Before DB flush, check if the DB connection was actually open (during failed starts, destroy may be triggered without having init done)
Added new script function t_new_request() to allow sending SIP initial requests (as UAC transactions) from the OpenSIPS script.
tm: rename "fr_timer" and "fr_inv_timer"
	* to "fr_timeout", "fr_inv_timeout"
	* rename equivalent variables to $T_fr_timeout and
	* $T_fr_inv_timeout
	* backwards-compatible
tm: update documentation with latest changes
cfgutils doc: specify RFC 2445 compatibility of "check_time_rec()" params
fix sst dialog timeout after timeout_avp removal
pi_http: fix copy/paste error that can lead to a crash when 'order_by_cols' are used
event_rabbitmq: URI-decode fields in rabbitmq socket

Closes issue #148
Replace odd -j in module-submake with ability for proper parallelism.

Recently `-j` was added to the list of flags passed to the modules
$(MAKE) command. That's bad practise for two reasons: (1) the caller
should decide on how much -j is required, not the programmer, and (2)
just -j without any numeric argument is "use all resources you can
get", which can be too much.

We order the Makefile around so the supermake (the user invocation)
can dispatch individual submakes in a parallel fashion. This is done
by (a) making the module directories phony targets and (b) replacing
the sequential for-loop over the modules with a simple dependency.
Address concerns: clearly note that there was an error.