Added OpenGL debug callback support and context changes.

1. We no longer hardcode a 3.2 profile. It chooses the latest profile that fits out description.
2. I added three tables and macros to help with the offsets compared to the variables to help reading. Read comments for more info.
3. I added glewExperimental being set. What a dumb "feature". It doesn't help anything...
Remove enable statements. This should be done in platform-independent code using GLEW.
Added gl_update (does nothing for now).

Fix previous commit..
Added GLX version check and assures context is set to none on failure.

Fixed the location glewExperimental was being set to just before glewInit() (where it should be).
Minor style fixup
Merge pull request #19 from asgeirom/master

Adding <linux/time.h> for CLOCK_REALTIME define.
Added some return-style functions to calldata.h

  When using signal callbacks, there is rarely a need to check to see if
the callback paramters are actually validl; in those cases, if they are
invalid, then the signal is being used incorrectly.  The calldata_get*
functions are meant to be used more for when using dynamic function
calls rather than when using signals.  The calldata_get* functions made
it so that you have to declare your varaibles, and then call that
function to assign that value to those variables, which was slightly
annoying to constantly have to do over and over.

  Therefore I created a few extra functions for returning the value
without having to check for validity.  Although you would think this
would be an issue for maintaining, keep in mind that these functions
return base types.  Admittedly, these functions are merely for
convenience.
Added add/remove signals to scenes

  Scenes will now signal via their source when an item has been added
or removed from them.

  "add" - Item added to the scene.
  Parameters:  "scene": Scene that the item was added to.
               "item":  Item that was added.

  "remove" - Item removed from the scene.
  Parameters:  "scene": Scene that the item was removed from.
               "item":  Item that was removed.
Added WX_UTF8 macro

  The WX_UTF8 macro is primarily for convenience so you can input a
UTF-8 string into a wxWidgets function without having to do
wxString(string, wxConvUTF8) each time.
Implemented adding sources to scenes via GUI

  Sources can now be added to scenes via user interface.  It's a little
convoluted because everything has to work through OBS signals to ensure
that plugins/etc can modify the scenes/sources exernally.

  Also, when switching scenes, it will properly list sources for the
scene you changed to.
Implement source removal via GUI

 - When the remove source tool icon is clicked, it will now remove the
   source from the scene.

 - Fixed a bug where the scene item removal callback would add the scene
   item to the list instead of removing it.

 - Changed AddSourcePopup to AddSourcePopupMenu.  Name actually confused
   me once despite being the writer, so it was clearly a bad name.
Remove from list based upon data, not string

 - Added an extra comment regarding source removal

 - Made is so that when a scene item is removed from the sources list
   box, it removes the item based upon the GetClientData rather than by
   its string name.  This is done because there may be duplicate sources
   in a particular scene, and it's important to remove the right one.
check for signalled event before pthread_cond_wait-ing

fixes a deadlock in obs_free_video/obs_video_thread where
video_output_stop would signal the update event before obs_video_thread
enters video_output_wait (the thread calling obs_free_video would
block on pthread_join and obs_video_thread would block on
pthread_cond_wait)
Change _DEBUG coverage a bit
Make it so that created scenes are selected

 - When a scene is created it now is automatically selected and switched
   to.
Revert "Merge pull request #19 from asgeirom/master"

This reverts commit 27ccb0947385d2384ad41e5ba47e35ae64df40d2, reversing
changes made to b7eccedf8a25248dd8cd1c04e940c4a7b7712dfe.
I removed GL-specific extension checking to a platform independent file.
I also fixed autoconf to find wxWidgets 2.9 without user intervention
Removed unused code and added more organization
Merge pull request #20 from benklett/time

Revert "Merge pull request #19 from asgeirom/master"
Updated VS2013 project dependencies

 - Made is so that libobs is now marked as a dependency for the main
   application project 'obs'.
Merge pull request #21 from computerquip/master

Various Changes to OpenGL intialization