pkg/kamailio/deb: fix lintian override for tls
pkg/kamailio/deb: fix init script

(cherry picked from commit 424ab9dd4abd9b11b7cf4642335652145128fa7c)
(cherry picked from commit 5f038ee927c40779296db080afab99ff3da47f05)
pkg/kamailio/deb: init script. Get back SHM_MEMORY PKG_MEMORY and CFGFILE

(cherry picked from commit f46beec41b3b5caa3977ddd452b3671bebf69069)
sqlops: safety check for result row field

- it might not be set in case of a failure in the middle of result
  conversion from db to internal memory
- freeing the partial result could result in a crash
- reported by Juha Heinanen

(cherry picked from commit f27df26ca01394250cbe12c5ccf694c6afd3707f)
(cherry picked from commit 20276e667631ec281851c2ef58d71863ae2318c4)
sqlops: reset the result container before new query is executed

- it was lost in commit 9b62514b4a90e169c9126b7bda6d87cc4c213ad2
- reported by Jonas Böttner

(cherry picked from commit 864127e6e02144c40c138d6921862b1512d01c66)
(cherry picked from commit 954fe136964296836113f5187f9cde91b197a567)
pkg/kamailio: version set to 3.3.7 in deb specs
pkg/kamailio: version set to 3.3.7 in rpm specs
Makefile.defs: version set to 3.3.7
ChangeLog: updated for v3.3.7
pkg/kamailio/deb: replace libjson0-dev for libjson-c-dev

(cherry picked from commit 9aae326812c092d61681c8f3c90bb137ccb1beb8)

Conflicts:
	pkg/kamailio/deb/debian/backports/squeeze
	pkg/kamailio/deb/debian/backports/wheezy
	pkg/kamailio/deb/lucid/control

(cherry picked from commit 8185629dda895b6c3a5b379b16e376a5cc80f1ba)