Core: Facility has voluntary attribute type.

Method using type attribute in FacilitiesManager altered as deprecated:
- getFacilityByName - created new one without type attribute as parameter
- getFacilitiesByType - deprecated
- getFacilitiesCountByType - deprecated
Method createFacility prohibits duplicates in the name, type is ignored.