Filter by domain (ready)

* Examples now filter max, min and average to the data that's show on the viewport (filtered by domain).
* Derived sources can accept an array of selections.
* Added first iteration of selection filter function.
* Temporary push of domain as $domain into the data collection.