Merge pull request #53 from Zentyal/kamenim/zen-master-fix-open-shared-calendar

Fix Opening for shared calendar for OL 2003
script/debugoc: Add option to only print openchange process ID w/o gdb

Usefull for guys that want to debug with something else, like Eclipse

Signed-off-by: Kamen Mazdrashki <kmazdrashki@zentyal.com>
WIP: openchangedb: Impelement Logger module

Important part is openchangedb.c:openchangedb_initialize()
For now it is very simple and not flexibble, but this approach
will allow us to 'stack' backend chains.

openchangedb_logger is an example for doing staff during backend calls.
My aim is to make it configurable through loadparm_context like:
  mapiproxy:openchangedb = logger,mysql
Other thing would be to have a simple registry for backend modules,
so we could get rid of this clumsy if (myslq)... else if(ldb)...
MAPISTATUS: Use MAPI_SUCCESS for success code name

It is hard now to search into log files for MAPI errors,
as we always put the prevfix MAPI_E_ even in case of success.

MS defines success for mapi ops to be SUCCESS_SUCCESS
and mark failures with MAPI_E_ (mapi error).
IMO, in our case MAPI_SUCCESS is a bit better.

Signed-off-by: Kamen Mazdrashki <kmazdrashki@zentyal.com>
wip: x500dn construction