endeavoru: add maxwen's 'smartmax' governor

Patchset 2:
-Some whitespace corrections, and freq check correction
to enable leave of LP mode in smartmax governor.
-Also setting On Demand as default governor, SmartMax
is optional.
Patchset 3:
-all trailing whitespaces removed
Patchset 4:
-indentation fixes
-compile warning fixes
Patchset 5:
-bloody whitespaces :)
Patchset 6:
-more indentation fixes

Original author: Max Weninger (maxwen)

Change-Id: I00801e95929263803796a3b7f7fd74d7838e624a