FindBugs: Call to equals() comparing different types

Change-Id: If4185f9eec0adfa47a6741eb21111b6cdafac008
Use DefaultContainerService for all file operations

For devices with non-emulated storage, the system uid is not allowed
to access the storage (to prevent system_server from being killed
on UMS mount). Old code remain that make file access directly, change
those to use DefaultContainerService

Depends on http://review.cyanogenmod.org/28179

Change-Id: Ie6bdaf27249daeabdc7f0ef1d73d484764ee35f0

Conflicts:
	src/com/android/settings/deviceinfo/MiscFilesHandler.java
Settings : Switch state fix

Since the switch views are shared, we need to recreate them
in order to prevent from being reused as they don't share state.

Change-Id: I4d7038f37883e1791c8c2b0009f0adb85ebb2b88