emsmdbp_object: hard-abort in *_open_folder() when parent folder is not Mailbox or Folder

Those are the only parent type we have internally.

Signed-off-by: Kamen Mazdrashki <kmazdrashki@zentyal.com>
emsbdbp_object: soft-abort in emsmdbp_folder_open_table() when why try not-implemented yet table type

Signed-off-by: Kamen Mazdrashki <kmazdrashki@zentyal.com>
emsbdbp_object/*_folder_open_table: Return empty table when caller request unsupported
ype of table to be opened

Signed-off-by: Kamen Mazdrashki <kmazdrashki@zentyal.com>
emsbdbp_object/*_table_get_row_props: hard-abort if we get impossible object type

Signed-off-by: Kamen Mazdrashki <kmazdrashki@zentyal.com>
emsbdbp_object/*_folder_commit_creation: soft-abort if we cant' connect with backend

It may be a temporary failure. Or most probably we are trying
to create not-support folder. In any case we shold not
abort() the process here, rather than that just handle the error.

Signed-off-by: Kamen Mazdrashki <kmazdrashki@zentyal.com>
emsbdbp_object: Handle error which folder_commit_creation() may return

Signed-off-by: Kamen Mazdrashki <kmazdrashki@zentyal.com>
emsbdbp_object: Fix error handling for emsmdbp_object_get_properties()

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