SI-8727  Map.filterKeys result's contains and get are inconsistent

Changed documentation and code so that predicate for filterKeys is always applied before the map is queried.
Merge pull request #4159 from Ichoran/issue/8727

SI-8727  Map.filterKeys result's contains and get are inconsistent