fix FS#90: show correct count in contact groups
fix FS#89: add new user to selected group, if any
add composer.json in preparation for plugins.roundcube.net
fix code folding on some functions
check necessary amount of parameters to debug_backtrace to stay compatible to PHP 5.3
give complete path to check for config.inc.php
Merge branch 'dev' of github.com:blind-coder/rcmcarddav into dev
Add a setting to hide CardDAV section from preferences
Remove unused attribute
Add a per-preset option to hide it from preferences

A new option ('hide') for presets makes them not to show on the CalDAV
settings section.

If 'hide_preferences' is disabled, all presets are shown by default
unless they have the 'hide' option set to true.
Fix indentation on config file
Add 'RCMC' to all XPath prefixes to avoid conflicts

If any of the the prefixes defined in carddav_common::registerNamespaces() was
already used in the XML document generated by the CardDAV server, SimpleXML
would just ignore it if it was not used to identify the same namespace, so XPath
queries would not use it as expected.

This commit changes XPath prefixes to other ones that aren't likely to be
already used.
Merge pull request #8 from adobo/xmlprefix

Change XPath custom prefixes to avoid conflicts
Fix Depth header when looking for an addressbook

Using the Depth:1 header when looking for addressbooks causes
unnecessary traffic and parsing time increases, because the
response will include a list of elements belonging to the
collection.

Asking for D:current-user-principal and C:addressbook-home-set with
Depth:1 also triggers a bug on DAViCal, which recalculates
those values for each item inside the collection. Recalculating
these properties implies some queries to the DB.

This can cause big performance issues if the addressbook contains a
high number of elements.
Refine addressbook discovery algorithm

The addressbook discovery algorithm works now as follows:

1. Check if current URL is an addressbook, using Depth:0
2. If not, look for addressbooks on current URL, addressbook-home-set and
principal URL using Depth:1 (recursive search)

The retrieve_addressbooks() method is simpler too.
check if $aBooks is false before counting; debug output which URL is checked
stop recursing only if we do NOT have a principal URL
Merge branch 'hide_settings' of git://github.com/adobo/rcmcarddav into adobo-hide_settings
two little hotfixes for the check if addressbooks should be hidden
Add Sabre VObject 3.0.0 beta 3