Refactoring: move all residence controller methods into Residences controller.
Bugfix: two residences cannot be defined at the same time for the same person.

It was possible to create a residence staring on the day the previous one ended.