RESTAPI 2 Add possibility to filter by product_cat

For products it would be nice to be able to filter by product cat.

usage: filter[product_cat]=CATSLUG
Changed filter name and some code style compliance
Merge pull request #6564 from krautnerds/rest-api-filter-by-product-cat

REST API 2.0: Add possibility to filter products by product_cat