port from 1.8 branch :
 - NAT pings generated by nathelper should respect the advertised address (global or per interface)
   Reported by Ovidiu Sas
   Closing bug 660 on SF
Added support for slot numbers different than 4096
Credits to Ezequiel Lovelle
Closes patch #272
- fixed bogus test in checking the flags for save() function.
  Credits for reporting and help in troubleshooting go to Nathaniel L Keeling III
Properly use the RR param cookie
Reported by jrudolph
Enhance opensipsctl to support ALL of the dispatcher table columns
- fixed dangling AVP value when doing use_next_gw() - this was resulting in random crashes in this function
  Reported by Ronald Cepres (many thanks for the help in troubleshooting)
  Closes bug #640 on SF.
- make rr_param external variable - we need it in several places, no need to pass it as param all the time
  change data type of rr_param from char * to str .
  Fixes side effect of commit f3495a, related to fixing bug 661 (SF)
- make the internally generated msg buffers also null terminated - this is a must for the regexp oriented functions like replace_all
  Reported by Ovidiu Sas.
- fixed bogus linking of same SDP to multiple entities.
- fixed missing break in switch
  Credits for reporting and helping with testing go to Tolga Tarhan.
- fixed compile errors from last commit
Makefile tar ignore git's files
Merge remote-tracking branch 'opensips/1.9' into 1.9