Don't bring home to the front if we're opening a floating activity

Change-Id: I27e237757ea04346a943361c20d1eb53746cdecc
Give floating flag to previous activities in the stack
When launching stacked activities, only the last one is flagged as floating in sysui when tapping halo.
This causes the system to show the launcher when the first stacked activity is launched (this first intent gets the flag FLAG_ACTIVITY_TASK_ON_HOME
in TaskStackBuilder).
This change makes all the stacked activities get the floating flag if the last one has it.

Change-Id: If60a777812196e0cbbe41c0535aa37c8a57e710d
Merge branch 'cm-10.1' of git://github.com/PAC-man/android_frameworks_base into PAC