Add a default option in grains.filter_by
Add unit tests for grains.filter_by
Merge pull request #8323 from regilero/default-for-grains_filter_by

Default for filter_by method in module grains