Fixed bug in get_root_categories and product render #3377

* Fixed domain expression inside get_root_categories
* Product render method handles optional path arguement

Review ID: 1483002
Merge pull request #24 from prakashpp/feature/task-3377

Fixed bug in get_root_categories and product render #3377