Implement post filtering locators to ElementQuery

Change-Id: I9c5293dd6d9fd1aa256b1c6bec29ad9cab178613