The real-time control system for the CANARY multi-object adaptive optics on-sky demonstrator