adding virtual
including <limits>
adding include <iterator>
added exception handling
adding parsing of bool from command line or mission file
Add option to build against libstdc++ on OSX >= Mavericks.

- On OSX >= Mavericks (10.9) LLVM's libc++ is now the default C++
  library, on OSX < Mavericks, GNU's libstdc++ is the default.
- This commit adds the option USE_LIBSTDCPP on OSX >= Mavericks which
  by default is OFF, but when enabled forces CMake to use the GNU
  libstdc++ when compiling.  This is important as MATLAB still links
  against libstdc++ on Mavericks and thus any MEX files will be linked
  against libstdc++ and libstdc++ & libc++ are API, but not ABI
  compatible.
- This patch also makes the default build type Release unless the user
  specifies their own build type.
Fixing option() call to pass a single help string.

- Some versions of CMake cannot handle multiline help strings passed
  to Option().