OBS: sync with latest versions

(cherry picked from commit 7fe45248c4fc29e5a5436ad66402fb7cf1d884ac)
Fix #241: Adium filters ":" from "sip:"

The string generated in allowedCharacters method obviously was copy &
pasted from another plugin without adapting it to SIPE requirements.
Updated the string to be in sync with sipe-utils.c:escape_uri_part().

(cherry picked from commit 38b355b74d303aa6c93cbe9c97ef46045847ec10)
l10n: sync translations with transifex.net (hi, te)

- add new language: te

(cherry picked from commit 8340d992b7f83397ce4d934a9d6567e07a2b4f54)
OBS: updates for Ubuntu 14.04

(cherry picked from commit 81eeb0efd145fd86dd01c25e86254b36d73c50b8)
Fix #245: "Unable to resolve DNS SRV record" error when joining conference

Not all Lync conference URL's have a 3-part domain name. Replace the
hard-coded solution in parse_lync_join_url() with a more generic one
that only drops the first part of the domain name.

Also add debug logging to sipe_core_conf_create(),

(cherry picked from commit b09ab4b2543b723106104134a4d8ac3269ec87a8)
ews: extract settings also from type EXPR

It seems that Microsoft has changed the EWS autodiscover response for
Office 365. In my test account the type EXCH now only contains the OAB
URL, whereas the type EXPR now contains the same OAB URL and the other
three URLs. So SIPE ends up with no EWS URL and therefore can't extract
the UCS buddy list :-(

Update the response parser to loop over all types and use for each URL
the first found value from EXCH or EXPR.

(cherry picked from commit 92ecf88ebdb165ffb84f6aef8a6c6d347c9314b1)
Fix #248: Remove libpurple SSL configure check

On some installations the stripped-down libpurple initialization is not
enough and causes the SSL configure check to fail. A better solution
would be to call purple_core_init(), but that fails on other platforms.

The only option is to remove the configure check completely. Not a big
loss anyway...

(cherry picked from commit f79a5d68069ac52c24138abdf4f4724cb88c245a)
sdpmsg: don't send farsight-send-profile codec property

Another instance of a Lync client being picky about SDP parameters.
Some versions of Lync AVMCU (conferencing server) reject messages that
contain the send profile property added by Farstream, likely because
they treat spaces or exclamation marks as illegal characters.
(cherry picked from commit c025fe5bfe3295b21d8d2d874301279f686cb8e8)
Fix #255: Crash when PersistentChat sends BYE instead of response

The log provided by the user shows that he is probably not allowed to
use PersistentChat. After a successful INVITE our first XCCOS command
causes the server to send a BYE, which causes SIPE to close the dialog.
Our 200 response to the BYE triggers a 481 response to which SIPE tries
to answer with a BYE without checking that the dialog is already closed.

Fix this by suppressing the BYE when dialog is NULL.

(cherry picked from commit 9084e282cc9af41e5ed6d5e0ba1b0026e76e1c85)
adium: fix compilation on OS X 10.7

NSDictionary doesn't seem to have a [] access operator on Mac OS X 10.7
(and older?). Replace it with [obj objectForKey:key].
ucs: honor user specified email URL

If the user has set an email URL then use that as EWS URL and do not
trigger EWS autodiscover process.
l10n: change translation URLs to transifex.com

(cherry picked from commit 193c15bbf3759793d28d35b949290d609b73f101)
adium: fix compilation on OS X 10.7

NSDictionary doesn't seem to have a [] access operator on Mac OS X 10.7
(and older?). Replace it with [obj objectForKey:key].

(cherry picked from commit e433eeb410870e0f08af7a93a21c9e674b53429b)
ucs: honor user specified email URL

If the user has set an email URL then use that as EWS URL and do not
trigger EWS autodiscover process.

(cherry picked from commit 77c680716e095cc3a5d1b1d6f070dcefa1d75ad8)
Feature #73: Support buddy photos from contactCard

If the contactCard XML contains a photo node with non-empty uri and hash
nodes then use that to request a photo for the buddy entry. This should
enable buddy photos at least for some buddy entries on Lynx 2010.
Feature #73: Support buddy photos from contactCard (II)

Fix typo in sipe-notify.c
Release 1.18.2 -- Bug Fixes II
Merge tag '1.18.2' into mob

Release 1.18.2 -- Bug Fixes II

Conflicts:
	contrib/opensuse-build-service/pidgin-sipe.changes
	siplcs.vcxproj
update ChangeLog
mingw: improve crash information reporting

Up to now we have always released libsipe.dll without stripping it. But
Pidgin crash reporter expects files with debug symbols at a special
location.

Update the MinGW build to also generate & install a stripped
libsipe.dll, just like Pidgin Windows does.

Update the NSIS installer to copy the stripped libsipe.dll to the usual
place and the non-stripped libsipe.dll.dbgsym into the same location
where Pidgin expects files with debug symbols.

The Pidgin.RPT file should now contain more information when SIPE causes
a crash.