Added wrapper to SamDB to reconnect on search exception

Only in ERR_OPERATIONS_ERROR
Merge pull request #86 from sixstone-qq/ejhernandez/ldb-reconnect-ocs-manager

Added wrapper to SamDB to reconnect on search exception
Introduce mapistore_tool to be able fetch mapistore(SOGo) info directly

Signed-off-by: Kamen Mazdrashki <kmazdrashki@zentyal.com>
build: Always use CFLAGS after PYTHON_CFLAG so we can override from command line
dmsmdbp_object: emsmdbp_folder_get_folder_count() to return MAPISTATUS

Prevously, this function was returning something in between
mapistore_error and MAPISTATUS - depending on input data.

Callers of this function though expect a MAPISTTATUS
oxctabl: Remove unnecessary initialization - row blow is already initalized
emsmdbp_object: Check both PR_DISPLAY_NAME_UNICODE and PR_DISPLAY_NAME
for folder Display Name

Prevously, if we get the name as PR_DISPLAY_NAME prop tag value,
we weren't able to figure out what the name is ever
emsmdbp: Fix PidTagSourceKey creation for a message - messageID should be used
emsmdb: Remove folderID field from emsmdbp_object_message - not used anywhere
provosition/mailbox: Don't lowercase Organization and OU names for Free/Busy provision

Openchange compares object names in case sensitive mode
Hence, provisioned folder name is going to be not-searchable
with restrictions for instance
openchangedb: get_parent_if() should return error when input fid is not found
build/mapistore tools: Remove dependency in build line for libmapi.so

It is already a dependency for libmapistore and libmapiproxy