Settings: fix dinamic tiles NPE

This change ensures that mDynamicUsbTether and mDynamicWifi are not null when
user returns to activity from a subpreference of QuickSettings.

Steps to reproduce the FC:
Go into Settings-> System-> Quick Settings panel-> Tiles and layout, then hit the Back button.
mDynamicUsbTether and mDynamicWifi were removed if they are not supported by the device.

Change-Id: Id871c6d8e422626d2a4ca3243b9ac6bd2a0345e5
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Merge "Settings: fix dinamic tiles NPE" into cm-10.1
Settings: fix profiles TabManager

Whenever an user enters in the profiles settings a new TabHost, but the TabManager is neither created
or updated with this new tabhost. On tablets when the user returns to profiles from a fragment
activity, the tabhost is not displayed.
TabManager need to be created along with the tabhost.

Patchset 2: Fixed ProfileEnabler on tablets. The instance of ProfileEnabler of Settings that
            is the one used on tablets doesn't have a reference of ProfileSettings, so this class
            never will be updated. With this pathset the profiles enabler follows the rules of
            wifi and bluetooth enablers: broadcast intent. Now, settings listen for
            PROFILES_STATE_CHANGED_ACTION events, and refresh its own ui.

Requires: http://review.cyanogenmod.org/#/c/32460/1

Change-Id: I5eae79cd20cee3c14f7d2c30a2238425ccd15e09
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
es_ES: Updated spanish translations

- PatchSet 4: Rebased

Change-Id: I64b347456445cffaa966808611883c74b86ce5f5
Merge "Settings: fix profiles TabManager" into cm-10.1
Merge branch 'cm-10.1' of git://github.com/CyanogenMod/android_packages_apps_Settings into jb-mv