Merge pull request #94 from openchange/master

Merge last changes from upstream
Merge remote-tracking branch 'oc/master'
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
Merge pull request #82 from openchange/kamenim/master-public-freebusy-not-to-crash-WIP

review remarks cleared out
test/util/mysql: Print out MySQL error when mysql_real_connect() fails
test/common: Allow for MySQL password to be passed in environment
util/mysql: Avoid leaking MYSQL object in case of failure
testsuite: Update README - remove memory leaks already fixed
util/mysql: Print MySQL specific error also in case of mysql_query() failure
Merge pull request #90 from openchange/kamenim/testsuite-and-mysql-fixes

Testsuite and mysql utility functions fixes
make: mapistore_test needs to link against libmapi.so