Refactored: BaseView::countConnected() and Base::checkConnected() are combined into getDisconnectedFacilities()
Ok, let's put all brackets for the sake of standard, + unfold the typedef, + change all left handed comparisons to right handed, and rename checkModuleConnections() to destroyDisconnectedFacilities()
Let's count in that we can't step from an incomplete building to a complete one.
Merge pull request #776 from fenyo1/getDisconnectedFacilities

Refactored: BaseView::countConnected() and Base::checkConnected() are combined into Base::getDisconnectedFacilities()
fix build error
fix build warning