migrate: Add storage to option functions
migrate: Merge "withFunction" functions with the normal functions
migrate: Migrate nightModeWhitelist to an option
migrate: Use safeJSON
commandLine: Add deprecated support for 'ls'