Enable Slim shortcuts for rebooting in the notifications window.

Change-Id: Idbaa5de8d462e8a06ff20f3b5fead7ebf99b15b6
Revert "Implement DocumentsProvider.createDocument and deleteDocument"

The original commit breaks the public API and causes crashes when
deleting certain items in DocumentsUI

This reverts commit f6bfaee6ad7ccd4491609d5df606558a4ae30f72.

Change-Id: I5a433148548e7a1a997ee50e5938f7a4cb4c5ade
ExpandHelper: Performance improvement during expanding

- Reflects on Hover mainly
- Add an helper to get natural height

Thanks to Kiril Mikos @mik9 http://review.cyanogenmod.org/#/c/66676/

Change-Id: Ib125d77e03c244879bf244c5abbb23582ad94115
Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
HOVER: Respect screen limits when adding view

As for what @Decad3nce reported here http://review.cyanogenmod.org/#/c/66654/
we shouldn't keep FLAG_LAYOUT_NO_LIMITS so view doesn't exceed the screen limits.

Thank you Adnan :)

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
Change-Id: Ifcbc4a1143362e1b7dd40e710126060688c894b9