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
Update carer.js
Update models-spec.js
Test changed
Updated relationsFactory to use resource
Put the Patient in exports.init
Stupid
Writing out errors
Second err is undefined

Checking if it’s the one that crashes
Merge branch 'add-patient-to-carer' into relations
Stuff
Test fixed
Finilised merge with master
Merged with angular maps
Modified script-db.js to add carer patient relations
Add patients to carer is done
Cemicolon stuff
Fixed some tests
Added square and triangle option for fence
Merge branch 'relations' of github.com-frankieferr:knotsoftware/dems-service into relations