Add autolock check to range.resetAlarm

Register resetAlarm with chrome.tabs.onCreated and onActivated
Fix countdown directive doesn't stop after zero
Fix popup settings tab doesn't save settings