Prevent pollution of usage data

Fixes #1140
Better security exception
Updated to do
Improved device registration
Improved randomization of subscriber ID

Fixes #1158
1.99.11 test
Show restrictions of system applications, even when disabled
Always set database permission
Database file/folder permissions
Moved database back due to permission problems

Refs #1129
1.99.12 test
Improved texts