Fix NavBar & SystemBar sizing issues

PhoneWindowManager makes some decisions regarding
portrait & landscape based on screen sizes.  Since we poke
this routine everytime we change something on the NavBar, this
can result in PWN changing the orientation of the device.  This
was causing strange behavior in resizing of the NavBar & SystemBar.
It might also have been causing other strange orientation issues.

PS2:  Attempts to decode the actual device type based on the screen
   dimensions and the rotation at time of setInitialDisplaySize.
   This is needed because large tablets (that default to a landscape
   orientation, need to have the dimensions swapped)

PS3: Whitespace

ps 4: Restore the stock calculations for orientation, but restrict
    them to running only one time (at initial boot).  This will allow
    the normal detection routines to set up the proper rotation variables,
    but will not reset (and change them incorrectly) everytime we poke
   setInitialDisplaySize.

Signed-off-by: Zaphod <mwilson@acesappraisal.com>
Change-Id: Iaec0e8ba623f10bd0d4118b4d5a99a42ab0564f6
FW: Navring ShouldUnlock method

Don't unlock for the ring options, and power

Change-Id: I7fa5bdfcc3c099477f87cd3cdd82a28e57a094a2
Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>
Add turn off action to WiFi Tether notification

Change-Id: I320405ed7e90e4c06ecdb127cd4c1cad6bedbcdd
Signed-off-by: Gergely Szell (sethyx) <szell@hu.ibm.com>
Updated simplified Chinese translations

Change-Id: Ia22d5926968f6346cd3070d2881e9a0e600708d5
Framework: CustomToggle Improvements (!Advanced)

Remove advanced Preference in favor of:
        If click = null, use longclick icon.
        This is all Advanced vs Basic was, really.
        User confusion might ensue, but ultimately,
        Exact same ability if you set click to null.
        This also clarifies the ShouldCollapse
        Preference through correlation of it not
        Collapsing on-click in basic.
        Also refresh Icons ondemand.

Change-Id: Ia56db7778c89bb38c5e77719e9fa47a9eef4c7eb
Merge "Add turn off action to WiFi Tether notification" into jb-mr1
FW: Updated czech translation

Change-Id: Ib4c32e640ccc002e0d90b193c118867e861f01f7
Signed-off-by: kecinzer <kecinzer@gmail.com>
Update Japanese translation

Change-Id: I4fecbc7b3c883fb80cef13850f10080462be426c
Signed-off-by: rdgate <rdgate@gmail.com>
Updated simplified Chinese translations

Change-Id: I60b948c5144c2069e687c2d453a237daff7bad47
Merge "FW: Navring ShouldUnlock method" into jb-mr1
Merge "Fix NavBar & SystemBar sizing issues" into jb-mr1
Merge "Update Japanese translation" into jb-mr1
Merge "Updated simplified Chinese translations" into jb-mr1
Merge remote-tracking branch 'upstream/jb-mr1' into jb-mr1