msg_translator: Passing MSG_TRANS_NOVIA_FLAG means don't touch Via.

Before this, if you passed the MSG_TRANS_NOVIA_FLAG flag to
build_res_buf_from_sip_res, the msg->via1->next would get checked but
not used. Now it's not touched at all.
Merge pull request #305 from wdoekes/wjd-msg_trans_no_via-no_crash

msg_translator: Passing MSG_TRANS_NOVIA_FLAG means don't touch Via.
Report the cfg filename in all cfg related errors.

Fixes #299.
Fix missing "p" state to MI ds_set_state command.

Closes #312
Reported by @gergelypeli
dialplan: prevent memory corruption when DB backend fails to start

Fix a couple of incorrect free operations
dialplan: prevent memory corruption when parsing db_url

Properly allocate and use the required memory to hold the string
Fixed simplified callid parser
Added support for increasing CSEQ number when doing remote SIP auth via uac_auth()
Added missing auth.h file
Updated License
New assert script keyword for script debugging
Merge pull request #313 from dsanders11/master

New assert script keyword for script debugging
db_text: fix issues when database file is missing an ending newline

* do not crash if file contains columns only and is missing the ending newline
* do not skip the last row of a database file if it lacks an ending newline

Reported by gergelypeli on GitHub
Closes issue #308
dialplan: fix incorrect ERROR on shutdown
Fix sending PRACK for multiple provisional replies.

Reported by Giuseppe Cardone.
Avoid useless from header parsing in case the dr group was passed from script
New  PV which holds the current route type
Fixed deadlock when calling dr_number_routing
Added the matched prefix to the output of the dr_number_routing MI func
Fixed CDR writing for replicated dialogs
(cherry picked from commit 128d3777f4a11a21eabb3e94a720c223bf0cf654)
lua, perl: fix compilation issues (from commit dcc07b4c)