MT#7335 Update Debian packaging regarding Python for jessie

According to https://wiki.debian.org/Python/TransitionToDHPython2
MT#7335 Fix incompatibility with glib version from Debian/jessie

Fails with:

| In file included from ../../include/clplumbing/cl_uuid.h:19:0,
| from cl_uuid.c:56:
| /usr/include/glib-2.0/glib/gtypes.h:29:2: error: #error "Only <glib.h> can be included directly."
MT#7335 Fix socket.h/ucast.c conflict when compiling for Debian/jessie

Fails when compiling against Debian/jessie with:

| ucast.c: In function 'HB_make_send_sock':
| ucast.c:466:6: error: conflicting types for 'i'
|   int i = 1;
|       ^

As noted in #713662 "in the current /usr/include/asm-generic/socket.h both macros are defined",
patch also taken from https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=713662
MT#7335 Fix flex issues when compiling for Debian/jessie

Fixes:

| conf_lex.c:618:11: error: conflicting types for 'yyget_leng'
| yy_size_t yyget_leng (void );
| ^
| conf_lex.l:55:5: note: previous declaration of 'yyget_leng' was here

flex-2.5.35 used to declare:

  int yyget_leng (void );

while flex-2.5.39 uses:

  yy_size_t yyget_leng (void );

nowadays. We're build-depending on flex anyway so there's no point
in declaring that in heartbeat's source again. (And upstream dropped
dropped that code in recent versions as well.)

Also drop automatically generated telecom/recoverymgrd/conf_lex.c,
this adds more confusion than benefit otherwise.
MT#7335 Fix pod2man compile issues with ldirectord for Debian/jessie

Fixes:

| /usr/bin/pod2man --section=8 ldirectord > ldirectord.8
| ldirectord around line 389: =back doesn't take any parameters, but you said =back 4
| ldirectord around line 410: =back doesn't take any parameters, but you said =back 4
| ldirectord around line 489: =back doesn't take any parameters, but you said =back 4
| ldirectord around line 510: =back doesn't take any parameters, but you said =back 4
| ldirectord around line 558: =back doesn't take any parameters, but you said =back 4
| POD document had syntax errors at /usr/bin/pod2man line 71.
| Makefile:756: recipe for target 'ldirectord.8' failed

Also drop the ldirectord file, which is automatically generated.