Add where filter to filter array objects

Supersedes #1749. Closes #1749.

Along with #1738, fixes #1735.


Output all pages with the layout staff as JSON:

```
{{ site.pages | where:"layout","staff" | jsonify }}
```

ALL THE PROPS TO @benbalter. :heart: Just wanted to get it done.