Merge pull request #163 from hwdro/master

Added -portable command line option
Merge pull request #164 from hwdro/master

Do not check for updates if in portable mode | Alternative way to enable portable mode
Make sure obs' tray icon is properly updated when stream starts/ends.
Fixed render message static text flickering when resizing (WS_CLIPCHILDREN flag added to parent window)
Fixed a small screw up introduced by #140 (wrong tab order)
made it so 1bit and 24bit cursors can be captured, and also attempting a fix for the weird non-square cursor bug
er, woops, took out some pointless test code that I commited
Call ID3D10Device::Flush at the end of every to ensure proper optimal of the internal 3D command queue
fixed a bug with notifications where it could access App object when it was freed
woops, made the OBS class just nullify itself instead
Isolated a string object to a brace block to prevent memory leakage and program crash when the application is using a different allocator
finally made a fix for the 100nanosecond frame timing code, looks pretty good so far
adjusted a comment
adjusted the positioning of the D3D flush command
fixed a bug with 100nanosecond timing where it wouldn't display the stream time
removed redundant check in game capture
fixed a bug with audio timing in mp4 file output
tweaked how much you can offset device audio by
Added a "circular list" to optimize some data usage accross the application.  don't stare into the code directly, you'll go insane.  (but worth it)
added yet -another- tiny buffer to the rtmp code to ensure packets are properly ordered when sent out to prevent any weirdness on the server in terms of decoding or transcoding.
also, last commit I added some new audio code, ensures audio now is always totally seamless when sent out