Keep screen on during download/patch/verify on select devices

On some devices the download/patch/verify process can freeze if the
screen turns off. This appears to be an issue with the fuse daemon.
This is temporary work-around until the real issue can be found and
fixed.
Override Application and enable debug logging from there

Some debug messages weren't being logged as the debug logging enabling
code ran after the code outputting debug information. Moving the code
to enable logging to Application::onCreate prevents this from happening
Update copyright notices
Scan secondary storages for initial flash file

Scan secondary storages (sdcard, OTG drives, etc) - as listed by the
SECONDARY_STORAGE environment variable - for the initially flashed
file. In case the user used one of these storages to flash OmniROM
originally instead of the 'internal' storage, this should now locate
the relevant file to use as base for patching, rather than having to
download the full nightly.