Added new features and tests for CardDAV connector.
Addressed suggested fixes and added basis for auth function
Merge master into Jon Demelo's branch.