[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

Conflicts:
	services/java/com/android/server/ProfileManagerService.java
[2/2] Add bluetooth triggers to profiles

Change-Id: I374cc93364c88b8b29c88345deccf297234ff624

Conflicts:
	services/java/com/android/server/ProfileManagerService.java
Also backup profiles file via backup manager.

Change-Id: Id70cb1bce15b7de127e4291e9482ab3fd7270f9f

Conflicts:
	services/java/com/android/server/ProfileManagerService.java