Starting to bring over calendar server code from webcit-classic.