Quiet Hours: Clean up and consolidate code

- Added: Allow disabling of system sounds

Ported from cm-10.2.

Change-Id: I7d2619becb99c336d23896a672136f491d972abd
Merge "Quiet Hours: Clean up and consolidate code" into cm-11.0