Made Estimate3dPose compatible with opencv 2.4

..which lacks an >> operator for Vec3f
Added a test utility to isolate crashing inputs

find-crash saves the input image before feeding it to DetectChilitag.
This helps repeating rare crashes, e.g. with chilitags-detect
bugfix: Refine could make concave quads

...which ReadBits did not like, resulting in a segfault.
Reorganized the project files and CMakeLists

src/lib/include -> include
src/lib/src -> src
src/creator -> tools/creator
CMake configuration related to samples and creator are in separate CMakeLists.

The main CMakeLists adds the c++11 definition (it probably works only for gcc).