Launch state/config change audit. (Part 1)

- Fixing issue with onResume logic being run even when the window focus
  is changing.  This only needs to be run when we are launching into 
  Recents again.
- Removed a bunch of launch state flags that are no longer necessary 
  because of changes to configuration handling.  This reduces the work
  that we have to do on resize, etc.
- Decoupled the resume with the stack-update, which fixes a couple 
  issues where we were updating the layout unexpectedly.
- Fixed an issue where we were not updating the nav bar scrims on 
  configuration change
- Fixing margin start/end regression in header bar
- Fixing small issue with paddings being scaled beyond their base size
- Fixing issue where the clip state was not properly getting reset 
  causing lots of overdraw.

Change-Id: I9aeb191a99ff23807b3f5d905f6480b10157a060
19 files changed