merge in trunk to r13769


git-svn-id: https://svn.calendarserver.org/repository/calendarserver@13770 e27351fd-9f3e-4f54-a53b-843176b1656c
Properly support OD recordType searches to enable resource/location migration to work.


git-svn-id: https://svn.calendarserver.org/repository/calendarserver@13771 e27351fd-9f3e-4f54-a53b-843176b1656c
Clean-up.


git-svn-id: https://svn.calendarserver.org/repository/calendarserver@13772 e27351fd-9f3e-4f54-a53b-843176b1656c
Fix resource/location migration from OD.


git-svn-id: https://svn.calendarserver.org/repository/calendarserver@13773 e27351fd-9f3e-4f54-a53b-843176b1656c
Additional sqlusage tests. Add profile wrapper functions.


git-svn-id: https://svn.calendarserver.org/repository/calendarserver@13774 e27351fd-9f3e-4f54-a53b-843176b1656c
allow sharing calendars to groups


git-svn-id: https://svn.calendarserver.org/repository/calendarserver@13775 e27351fd-9f3e-4f54-a53b-843176b1656c