Core: repaired facilitiesManager.getAllowedUsers

- the method now returns list of unique users
- the test for uniqueness written
Merge pull request #222 from jirmauritz/getAllowedUsers

Core: repaired facilitiesManager.getAllowedUsers