Frameworks: Add several Slim helper classes and constants back

This commit https://github.com/SlimRoms/frameworks_base/commit/d5a1954a594c1c157d5ab9a34c328ae7bb436813 is already inside