Merge pull request #173 from gsegura/develop

Fixes for the rule based categories in the API so they return category f...
Brand and category suggestions are now indexed only if there are products in stock
Using ProductQuery while checking for brand/category products, changed variable name to type instead of element type, made implicit request optional on ProductQuery.
fixes to the API & ruleManagerComponent to have parity with the existing atg functionality to render closeout subcategory pages and also to apply ranking & boost rules to rule based category pages
Merge pull request #176 from gsegura/gsegura_api_fixes

fixes to the API & ruleManagerComponent to have parity with the existing...
Added support for permanently out of stock products
Added product validator to CLI
Fixed issue where API is not returning free gift data in search
Added support for .* (e.g. skus.*)
Refactor SkuSearchFeed to use the SDK POJOs
Refactor the SDK to use objects instead of primitives
Some fixes permenantly out of stock products
Changed java.lang.Boolean isXX getters to java.lang.Boolean getXX
Fixed broken tests
Add backwards compatibility stockLevel and availableDate for old API
Merge pull request #175 from lujameva/autocomplete_update2

Brand and category suggestions are now indexed only if there are product...
Filter skus by site
Fixed country & site query
Fixed field parameters for search
Minor fixes to Product CLI
Refactor rule category field. It was calculated with the category paths and search tokens in the RuleFeed.  Moved this logic to the API.
Now it only receives a list of category ids and the category paths as well as the search tokens are calculated in the API
Merge pull request #177 from gsegura/gsegura-rule-fixes

Refactor rule category field to extract paths calculation to API
Do a single query per suggestion elements batch to determine if elements have products on stock (instead of a query per each element in the batch)
Fixed product ordering in search & browse. With the recent change to a Mongo query it started to return products in a different order from what's on the query.
Merge pull request #178 from lujameva/autocomplete_filtering

Do a single query per suggestion elements batch to determine if elements...
Revert "Refactor rule category field. It was calculated with the category paths and search tokens in the RuleFeed.  Moved this logic to the API."

This reverts commit d9b65b2902e6e4e919973b6cc4fa2b2b2b47029b.