Shifts app UI behind config option

Closes #2287
- adds helper for checking whether to show apps UI or not
- hides app UI from settings page
Merge pull request #2294 from shashankmehta/apps-config

Shifts app UI behind config option