Merge pull request #98 from valeriog-crytek/master

Fixed some GL issues
Remember last filename as well as last directory for capturing
Handle case where input signature has been stripped from bytecode

* This was found on a flash stage3d sample, where if the input signature
  is stripped, some signature elements can be completely missing, causing
  a mismatch when trying to obtain the inputs for pixel debugging.
* In this case, we try to fill in from the previous shader, and if that
  fails just inserting a dummy element and hoping for the best.
Calc num data components from stride for struct load/stores. Refs #99
Disable RENDERDOC_OFFICIAL_BUILD that was accidentally turned on
Add API function to unload breakpad crash handler
Prevent crash when custom cbuffer format is larger than buffer
Handle live resource not being there even if it shouldn't be missing

* I was a little conflicted about this, as the resources present in logs
  should be determinable - if a function marks it as referenced then the
  serialised version of that function should expect the resource to be
  present, and if it's not then there's a bug and we can't properly replay.
* However I am tempted to say that instead of likely crashing due to an
  invalid NULL pointer suddenly appearing somewhere, we should instead try
  to continue even if a resource isn't available.
Texture data type GL_UNSIGNED_INT_5_9_9_9_REV was missing from GetByteSize.
Wrong GL function being called and serialized for glGenQueries.
Handle GL shader arrays of one element during reflection and constant buffer read.