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