Granular enabling, sound support, formatting

Added support for enabling/disabling the whole plugin.
Added support for custom pushover sounds.
Refactored part of the code for readability and weechat plugin convention.