Updated to use latest version of Open-Server. Adaptations for changes to the analytics API.