mapistore/backend_get_path: Check return value from backend.get_path for != NULL

Backend may return MAPISTORE_SUCCESS and dbpath = NULL, in which
case are going to make a fake url like:
  sogo://(null)
Such broken URLs quickly polute both indexing and openchangedb databases.

Signed-off-by: Kamen Mazdrashki <kmazdrashki@zentyal.com>
Merge pull request #59 from Zentyal/kamenim/zen-master

mapistore/backend_get_path: Check return value from backend.get_path for != NULL
Fix get_user_calendar for MySQL backend

It now returns a list of str instead of tuples
Add context from mapistore use username and not cn
Manage no MySQL connections in the OpenChange db wrapper
Send FreeBusy Response even when the FreeBusyOptions are not sent

This is the behaviour Outlook 2007 has. It sends back as TimeWindow
from server side time now up to 42 days later.
Sequential selects on multithreaded environment

* Makes multiple requests at once work as expected
Set proper error codes in each case
Fix dummy bug on creating the lock
Missing import for LDB backend

+ Add copyright
+ Be more pep8 compliant
Merge pull request #65 from Zentyal/ejhernandez/freebusy-fixes

Fixes on Free/Busy
Merge branch 'master' into trusty