camera: minor constness

This commit fixes constness of camera getters, and changes a few
arguments into const references.
timing: constness fix
Merge pull request #49 from zerhacken/minor-fixes

Minor const correctness fixes from zerhacken
Only read from input data from debug message when WRITING.

Fixes submitted auto-crash-dump "report_2014.05.07_16.39.37_408"
threading: HasLock const function
wrapped pool: IsAlloc constness

This commit changes WrappingPool::IsAlloc to take a const pointer as argument
as pointer isnt modified. ItemPool::IsAlloc is changed to a const function
taking a const poiner as argument.
Merge pull request #50 from zerhacken/minor-fixes

Const correctness fixes in threading.h and wrapped_pool.h
core: const correctness

This commit chanages several functions in renderdoc/core to const functions.
Merge pull request #51 from zerhacken/minor-fixes

core: const correctness
jpeg compressor: fix VC++ warning C4703

This commit fixes VC++ warning C4703 in jpeg-compressor/jpgd.cpp
"potentially uninitialized local pointer variable".
core: fix VC++ warning C4703

This commit fixes VC++ warning C4703 in core/remote_access.cpp
"potentially uninitialized local pointer variable".
Merge pull request #52 from zerhacken/vs2013-compiler-warnings

vs2013 compiler warnings
check for vshost exe as well as other exes to detect replay app
In release advance precisely opcode length. Fixes #54.

In non-release, still warn + log for unexpected tokens, and
error for over-reading, but since there's no good documentation
we have to just assume the opcode length is accurate and try not
to worry about mysterious inaccuracies.
Expand shader viewer for really long source. Closes #57
Add support for arrays in the buffer viewer. Closes #56

For now this just acts like a really wide vector with N columns for the
array, but this could be improved in future if a better visualisation is
decided on.
Fix shader debugging always reading from pixel resources. Closes #59

Instead of assuming that we can sample straight from the bound resource,
we save what's bound on PS slot 0, always sample from that slot, and
bind whatever resource & sampler onto PS slot 0 for the sampling draw.
Fix backbuffer RTV not recreating properly if Desc->Format is UNKNOWN

* Judging by the error reports that pointed to this crash, this happens
  with the Dolphin emulator.
Fix default capture options not being applied in 0.20 and above

* These capture options used to be propagated through from the C++ struct
  when there was a C++/CLI dll used for interop between C# and C++. Now
  that we use P/Invoke this needs to be added back so a couple of default
  options can be enabled
Handle IO errors while reading/writing config file - crash report fix