Adding Dynamic App Routes to category and search pages.

@prabinv & @texasag PR for dynamic routes on category and search pages.

TP: 27452 - please move to test when pulled in. This is also related to the similar PR on Method.

Referenceing @tsanko & @kevinsproles.
Put this logic into a controller [function]