Changed registerCollection to registerConnection to allow the adapter to work with Sails 10 beta