dialog: prevent double free in case of errors
Fixed output redirect for "which"

Credits go to @jalung . Closes #231 .
s/interger/integer/
s/sever=/server=/
s/writting/writing/
Fix a few spacing issues and a few more typo's.
Merge pull request #232 from wdoekes/wjd-misc_typos

Fix a few typo's and double spaces in LM_* messages.
QM_MALLOC: add a new MI memory scanning function

	* "shm_check" now performs a full scan and stops OpenSIPS if any
		inconsistency is found
	* only available with DBG_QM_MALLOC
QM_MALLOC: proper fragment debugging patterns for x86_64
change #if to #ifdef in commit 008593a3
dispatcher: add priority column

This is useful for "first entry" algorithm, where you can now
order the entries regardless the database order
dispatcher: fix possible bogus gateways

In case the domain name can not be resolved, the destination should
be droped and the number of destinations within the set should not be
increased.
dialplan: return "404 No translation" for failed MI dp_translate command
dialplan: dp_translate(): accept "id" param as STR PVAR
 - convert it to INT "id" STR PVAR (if possible)
Fixed setting the pinging flags at start.

Related to issue #233
Added support for external body in MSILO.

Able to deal with MESSAGEs with no body but with conten-type refering to an external body.
core: improve CPU usage of the TCP_MAIN process

	* iterate through and close connections at most once per second
flatstore: escape delimiter
drouting: document the "persistent_state" parameter
Makefile: by default, join free fragments