Start converting things to strings, etc. for a more 'C++' way of doing things
Make PTPContainer use C++ stuff

new, delete, std::copy
Make LVData use C++ stuff
Fix headers for PTPContainer
Make CHDKCamera use C++ stuff
Make CameraBase use C++ stuff
PTPContainer const correctness

Update PTPContainer to be const correct.
LVData const correctness

Update LVData to be const correct
CHDKCamera const correctness

Update CHDKCamera for const correctness
Update CameraBase for const correctness
Mostly complete... I might be able to tweak a couple more things, but it's good for now.
Switch to references
Switch almost(?) all class pointer inputs to references, instead.  It seems that references have some benefits over pointers in C++, so let's take advantage of that.
Note: this change ends up requiring more memory in some places, since we can't pass NULL as a reference, so we create temporary variables that just get created and destroyed.
Make set_payload more generic
Since we just do a memcpy anyway, it doesn't matter what type of pointer we get.  As long as the length is correct, this should work fine.
Replace std::copy with std::memcpy
std::copy doesn't work how I initially thought.  std::memcpy is really what I want.  See: http://stackoverflow.com/questions/15672748/stdcopy-setting-pointer-to-null/
Fix headers and typo
I keep forgetting this fix...
Remove some casts
Since we made set_payload take a void pointer, we don't need these casts anymore.
It occurs to me we'll probably need the null terminator here, too...
Fix a memory leak
Oops... was trying to copy too much
Merge pull request #2 from TrueJournals/cpp-things

Cpp things