fix for handling imgur API 404s - fixes #1126

also cleaned up a little whitespace and whatnot
halt mediaBrowseMode when "view images" is clicked - fixes #1127
styleTweaks: Add options for automatic night mode
styleTweaks: Implement basic automatic night mode handling
styleTweaks: Use value of settings
styleTweaks: Fix call to enable/disable night mode
styleTweaks: Rename switchLight for clarity
styleTweaks: Add comments and parentheses for clarity
styleTweaks: Remove random newline
styleTweaks: Add automatic night mode override

Currently broken because nightModeOverrideTime doesn't actually
persist
styleTweaks: Use RESStorage to persist night mode overrides

Currently manually set to override for one day
styleTweaks: Add option to configure length of night mode override
styleTweaks: Use more readable time format for automatic night mode
styleTweaks: Improve description of nightModeOverrideHours