libobs/util:  Add func to get current log handler
libobs/util:  Remove dup. code, add os_opendir

Just use platform-nix.c code for general stuff that mac is compliant
with, and put a define around everything else.  Take that code out of
platform-cocoa.m.

Added os_opendir, os_readdir, and os_closedir to be able to query
available files within a directory.
Add logging to all operating systems

Also have it remove log files past 10 (default, changable with ini
setting as per usual).  10 might be too few.
Fix code formatting issues

80 columns limit preferably
spaces after if/for/while
KNF code styling
Merge pull request #83 from fryshorts/xshm-input

linux-xshm: added support for multi-screen setups
Merge pull request #74 from BtbN/linux_new_plugins

Add xcomposite capture
UI:  Add name/version to window title

Also, make the 'start stream' button say 'connecting...' when it's
initially trying to connect.
UI:  Replace ico files with png

ico files weren't rendering properly under every circumstance for
whatever reason.
Add ability to move source up/down/etc
libobs:  Prevent adding of null user sources

Not entirely sure how this happened but I *think* that a null source was
somehow being added to the list of user sources for one particular user,
and then I noticed this code does not check to see whether the source is
null or not.
Show commit hash in version string

Also, update to 0.2.2
Log version string on startup
Use OBS_HAVECONFIG_H for version string
Add FLV file output code

This doesn't add FLV file output to the user interface yet, but we'll
get around to that eventually.  This just adds an FLV output type.

Also, removed ftello/fseeko because off_t is a really annoying data
type, and I'd rather have a firm int64_t for large sizes, so I named it
to os_fseeki64 and os_ftelli64 instead, and changed the file size
function to return an int64_t.
Remove output from encoder when output is destroyed.

This fixes an issue reported by valgrind where a destroyed output is
still referenced by the encoder.
Destroy swapchain before removing the window info

This fixes an issue reported by valgrind where cleaning up the
swapchain fails because the window info is destroyed before.
Merge pull request #86 from fryshorts/fixes

Minor fixes for problems reported by valgrind
Use memmove instead of memcpy for potentially overlapping memory

This fixes an issue reported by valgrind where overlapping memory
was copied with memcpy.
This also removes a redundant assignment where the array size was
explicitly set to zero when it was already zero.
Graphics:  Comment out parsed shader logging
Add help menu with log file uploading

Added github gist API uploading to the help menu to help make problems a
bit easier to debug in the future.  It's somewhat vital that this
functionality be implemented before any release in order to analyze any
given problem a user may be experiencing.