Carer<>Patient relation model and factory

Extended Carer model to include patient relation.
Included new test to test above.
Created relationsFactory to add and remove patients from carers.
Created apiFactory to encapsulate http requests
Move down into exports.init(), and get the `settings` from the function params.