Profiles: fix parsing

Fix parsing profile's xml for airplane mode and silent mode.
Reading the xml used to turn all settings below airplane mode and silent mode to default.

Change-Id: I41a22138dc276f8c66909f1a4669876383ef1f2f
Profiles: [1/2] Add triggers to change profile based on AP

Add data structure mWifiTriggers to store triggers per profile.
Add network change listener to switch to profile

Change-Id: I97e360d7783d3b0e2bbd70fe7a9a866d8c0fa7cd
added CMs QSUtil.java

Change-Id: I10c33cefc85715055b7c705c7bd52845f1934cf2
Profiles : Allow nfc override (1/2)

Part 2 : http://review.cyanogenmod.org/#/c/37013/

Allow user to override nfc state via profiles
Request jira : https://jira.cyanogenmod.org/browse/CYAN-989

Change-Id: Ief7fa4ab83527f488fbd8c0bc96448a2a2cde6fb