move ts powerctrl to powerhal
also refactor powerhal to generic name convention
powerhal: include timer rate adjustments by @cyanogen