alarm improvements: store alarm data in the service extra data
1. add the logic to check if the alarm is owned by current application
2. test page to cover all APIs
3. code refactoring