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
text-freetype2: Fix issues with text file loading
Basic UI: Make properties window remember size
text-freetype2: Check if using file with from_file
text-freetype2: Avoid memory leak

Doing just return could cause it to bypass the font_obj cleanup
text-freetype2: Avoid spamming the log

When polling the file for changes, if the file doesn't exist, avoid
repeating the message over and over again that it couldn't find the
file.
Log total/skipped frames on output stop

This makes it easier to do two things:
  1.) Get the skipped frames count relative to each specific output
  2.) Make it so that getting the 'current' log will always contain
      information about skipped frames.  Before, you'd have to force the
      user to restart the program and get the last log, which was really
      annoying when you just wanted to see how the encoders were
      performing.
Update statusbar when recording
obs-x264: Ensure preset/tune are valid

If tune or preset is invalid it'll just cause x264 to not load at all,
which I feel is a bit over the top.  Instead, if the values aren't
valid, then just make it default to no tune if the tune is invalid, and
'veryfast' preset if the preset is invalid.
obs-x264: Swap preset/profile parameters

The parameters for override_base_params were being used in the wrong
order.
obs-x264: Log settings after custom opts parsed

The log of the settings didn't take in to account the potential of
custom x264 options.  This changes it to log the actual x264 settings
after parsing.
obs-x264: Log preset/profile/tune and custom opts
text-freetype2: Fix 'text file' property filter

The text file filter accidentally said "All font files (*.txt)" instead
of saying "Text files (*.txt)".  Probably just a mistake from a
copy&paste.
Basic UI: Add advanced encoder settings
obs-x264: Ignore certain custom opts

These options should not be set via encoder settings, and may result in
unpredictable behavior.
text-freetype2: Localize text file path filter
text-freetype2: Fix GCC fread warnings

GCC marks fread as a function that will throw a warning if you do not
use its return value.  This is most likely done as a measure to ensure
code security.
text-freetype2:  Check for 2 bytes instead of 1
Add debian packaging files