Added notification profile support.
This adds finer-grained support for notification tones, and groups settings into profiles,which can be easily switched. API support is also added, allowing configuration, and profileswitching from another program (e.g. Tasker, Locale).
A profile represents a particular set of settings, and could be for example "Silent","Office", or "Night". Each profile contains the settings for a definable set of applicationgroups.
An application group represents a group of applications to which the settings should apply.For example "SMS" might contain "Messaging" and "Handcent".
The applications in an application group are globally defined. The notification settings foran application group are per-profile.
For each profile/application group you can define behaviour for lights/vibrate and sound. Either you can suppress, override, or leave unchanged (ie system, or app default).
Example: Work : SMS vibrate. Ringer vibrate. Email no alert. Gmail vibrate.
Night: SMS silent. Ringer on. Email silent. Gmail silent.