Merge pull request #94 from openchange/master

Merge last changes from upstream
Merge remote-tracking branch 'oc/master'
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
Merge pull request #92 from Zentyal/jgarcia/fix-make-mapistore_test

Makefile: fix make mapistore test
emsmdbp/table_get_row_props: Check for OOM
emsmdbp/table_get_row_props: test retvals as mapistore_error value

rather than treating the value as boolean expression
oxcfxics: Prototype oxcfxics_fill_transfer_state_arrays() to return status code
oxcfxics: Check for errors in oxcfxics_fill_transfer_state_arrays() and handle accordingly
emsmdbp_object: Return MAPISTATUS and check for distinct error types
emsmdbp_object: emsmdbp_object_open_folder_by_fid() to return MAPISTATUS

And also handle different kinds of error properly in implementation.
enum mapistore_error is mapped to enum MAPISTATUS for instance
oxcfxics: Check for table_set_columns() errors in oxcfxics_push_messageChange_attachments
oxcfxics/SyncImportHierarchyChange: Fix MAPISTATUS error handling
oxcfxics/SyncImportMessageMove: Handle MAPISTATUS error and print out the error
provisioning: Print out more descriptive failure when LocalFree busy create fails