Schema changes for Apps

refs #2465
- Add active field to app_fields
- Adjust data generator for app fields
Merge pull request #3318 from halfdan/apps-schema

Schema changes for Apps