Add category checkbox to restriction prompt
Merge pull request #1232 from jpeg729/category_or_method

Add category checkbox to restriction prompt
Fixed randomize on access not sticking for latitude and longitude
Fix vertical alignment
Hide on demand setting for non apps
On demand restricting default enabled
If LBE Security Master is enabled, only applications can be restricted

Refs #1231
Use setting for migration status

This will allow for database upgrades that involve table/column changes
Fix recursion (resulting in stack overflow)
Efficient get hook, so it can be used in getRestriction, use hasNoUsageData

Refs #1233
Really fix vertical alignment
Added application icon to restricting on demand prompt
1.99.26 test
Updated Dutch translation
Fix (no) usage data
Better app restart required logic

Any assumption on the original state of the functions concerned is
almost certainly false in a fair number of common situations.

Solution: record the state of the concerned functions before
modifying, and compare with the state after modification
Check restart needed for apps on import as they are finished
Fix restart checks for import
Cache the list of methods requiring restart for performance
Cleanups