parallel compilation

speedup compilation on multicore/multicpu machines(cherry picked from commit 33134feaa38a9fb376dea97eb7711cdd5aced758)
pike: correct spelling
(cherry picked from commit 879eacbb5e2f90f1dba2f9b23165e725a5c754d4)
- BYE requests received in confirmed state should terminate the dialog only if they match the TO-tag from 200 OK INVITE.
  This affects parallel forking scenarios where rejected branches are terminated via BYE by caller.
  Thanks for reporting and testing to Marco Hierl.
- proper backport of all changes from 1.8 branch
- removed unused variable
 - complete backport from 1.8 of pull request #15
- complete backport from 1.8 of pull request #15
- complete port of pull request #34
 - partial porting of merge 50117f (adapted to 1.9)
Merge pull request #68 from wdoekes/wjd-fix_nathelper_memleak

Fix memleak in nathelper natping when "failed to fetch contacts".
- fixed NULL sockets in external scenarios (this leads to crashing when building the contact hdr)
  Reported by dexteruk on IRC .
 Fixed bug introduced by previous commit :

	- downstream BYEs should go to 200OK leg in order to trigger dialog termination
	- upstream BYEs have no such limitation ( there's only one caller leg :) )
Merge pull request #62 from dsandras/ds-dialoginfo-notifications-fixes

Fixed RFC 4235 notifications compliance.
- fixed incomplete function call (resulted from the merged commit 09a291e)
- when starting the FR timer, it should not override any previous setting of a FR or FR_INV timers.
  Solves Issue #25 (reported and troubleshooted by Mayama Takeshi) when a very fast 100 reply may stop retransmissions, but brake the updating of fr timer from FR to FR_INV state.
-  Gracefully detect if the uac_auth modules is available for usage in b2b_entities modules - do not through an error message but rather an info one, as find the uac_auth module is optional.
- fixed CANCEL matching in B2B
Fix evi crash when defining more than 10 events
(cherry picked from commit ba04cba6d5f7bc945bbc42d2e46694639fea8b79)
Fix PUA module so that it sends a final PUBLISH on expiration.

A final PUBLISH with expires=0 is now generated when a publication has
expired. This will trigger the transmission of a final state NOTIFY.

Cherry picked from: c5a57a8d39cf568d6558332ca71ea8344a5a4f57
Merge branch '1.9' of https://github.com/OpenSIPS/opensips into 1.9