event_route: make sure that that all info is sent over the socket
check validity for to/from in sipmsg_validate
sanity check for contact header(s)
indentation with tabs, correct typos, remove escaped quotes. thank you Walter Doekes for the code review.
Merge pull request #298 from andrei-datcu/master

[drouting] dr_number_routing fixed lock and documentation
add new MI command named list_statistics

The new command lists all registered statistics and displays their types
Added generic fixup functions that accept either static regexps or regexps containing pvars
All the sipmsgops functions accepting regexps as input can now have pvars as input
core: new module dependency specification interface introduced

Allows OpenSIPS modules to specify dependency relations with others.

This eliminates the need for explicit ordering of "loadmodule"
script statements. More details in "sr_module_deps.h"

All this logic is transparent at script level.
module dependencies core: add a commonly used function

Any module which depends on all SQL DB modules once its db_url is set
may use "get_deps_sqldb_url". Declared in sr_module_deps.h

Usage example: acc module
module dependencies: allow generic dependencies of own type

In other words, the modules which make use of this will be the last ones
of their type category to be loaded

e.g. db_virtual is of type MOD_TYPE_SQLDB, and requires all
MOD_TYPE_SQLDBs to be loaded before itself

Note: abuse of this functionality may lead to dependency loops
db_virtual is the only module to make use of it, currently
module dependencies core: fix a string comparison bug

when looking up modules, strcmp is more appropriate then memcmp, since
otherwise, "presence_xml" would match a search for "presence", thus leading
to "presence_xml" depending on itself
module dependencies: declare the dependencies of each OpenSIPS module
module dependencies core: properly handle the USE_FUNC_PARAM
module dependencies: Add configurable behaviour on dependency failures

When exporting a dependency, a module must also specify the action taken
if this dependency is not met during startup. Current
possible behaviours: SILENT, WARN and ABORT.
module dependencies core: reclaim all used pkg memory

After startup, all module dependency structs will be freed.
sst: add a silent module dependency with pua_dialoginfo

Since "sst" performs a callback-based update on the "Session-Expires"
header, pua_dialoginfo must be loaded before sst.
Added param with list of Contact URI parameters to be passed from one side to the other when doing topology hiding
Closes feature request #301
Fix iteration of to be sent MSILO messages
Fixes issue #291
Thanks to Nick Altmann for reporting & testing
Merge branch 'master' of github.com:OpenSIPS/opensips
core: fix error: redefinition of typedef param_export_t