Add platform functions to request high performance modes

Specifically, this disables App Nap and related features
on OSX 10.9+
Request high performance mode when using x264 encoder

This should probably be reevaluated once we have
global hotkeys or other functions that would require
OBS to not be sent to sleep while in the background
without having any sort of encoder running