Added jabber_compare_jid to fix JID comparison case sensitivity
configure: Let the user enable both built-in protocols and purple

There's no real risk in enabling these, since protocols/purple/purple.c
already avoids adding duplicate protocols in purple_initmodule():

    /* If we already have this one (as a native module), don't
       add a libpurple duplicate. */
    if( find_protocol( prot->info->id ) )
        continue;
Gadugadu local contact storage (ticket #917)

Patch originally by Michał Siejak, adapted for 3.2.1
Fix version in pkg-config file, also change bzr version format slightly

Old bzr version format: bzr-1234
New bzr version format: 3.2.1-bzr-1234

Version spoofing with the BITLBEE_VERSION also changed slightly - it
does not need quotes around the version number anymore for it to compile
correctly.
Add git version string support to configure
Merge branch 'patch/purple-protocol-override-dx' into develop
Fix double slashes in systemd unit templates
Travis CI integration
Travis: Speed up build by using --no-install-recommends
Merge pull request #13 from dequis/patch/pkg-config-version-fix

pkg-config version fix
Two small fixes to make Debian builds work again.
Nope, do not install systemd stuff by default. Remove it from the install:
dependencies and tell the user to run "make install-systemd" in cases where
this seems useful.
3.2.2. Last revisions pretty much all done and/or merged by dx!
Remove libotr2-dev Debian dependency which couldn't possibly work at all.
Add git workflow details to the README
Add limit param to split_command_parts(), fix twitter quotes bug

Only took me a few months to write. I even added a test case.
Fix the NSS init after fork bug, and clean up lies in unix.c

This might look like a simple diff, but those 'lies' made this not very
straightforward.

The NSS bug itself is simple: NSS detects a fork happened after the
initialization, and refuses to work because shared CSPRNG state is bad.
The bug has been around for long time. I've been aware of it for 5
months, which says something about this mess. Trac link:

http://bugs.bitlbee.org/bitlbee/ticket/785

This wasn't a big deal because the main users of NSS (redhat) already
applied a different patch in their packages that workarounded the issue
somewhat accidentally. And this is the ticket for the 'lies' in unix.c:

http://bugs.bitlbee.org/bitlbee/ticket/1159

Basically a conflict with libotr that doesn't happen anymore. Read that
ticket for details on why ignoring those comments is acceptable.

Anyway: yay!
Merge branch 'grmrgecko/jabber-compare-jid' into develop
srv_lookup: Portability fixes, handle compressed responses

srv_lookup works on cygwin and openbsd now.

Provide ns_initparse, friends, and types where they aren't provided by
platform.

Use dn_expandname instead of custom parser so compressed DNS responses
are handled correctly.
Allow filtering of blist output

Add an (optional) second parameter to blist. If present, it is treated
as regex and used to filter the result list.