Make auto-suspend configurable

- Introducing an overlayable system resource to control whether
  auto-suspend is used or not.
- By setting config_useAutoSuspend to false, auto-suspend is not used.
- By default, auto-suspend is used to be backward compatible.

Bug: 304773737
Test: When auto-suspend is disabled, the device should not be suspended
      after all wakelocks are released.
Change-Id: I33a8e52d5f460edfeaf66a89677f6d91cbf3d1d1
4 files changed