Added extra query param to identify sub apps.
Merge pull request #455 from trestletech/feature/subapp

Added extra query param to identify sub apps.