The mls_results_ vector did not need to be allocated for most of the
Moving Least Squares methods. However, a reference to an entry in this
vector was needed for calls to computeMLSPointNormal, which is why it
was being allocated in full. This commit causes the vector to be resized
to 1 for those methods that don't need the full version, and then a
reference to entry 0 is passed. The decision was made not to modify
computeMLSPointNormal because it needs to be thread-safe and I do not
have the means to test the OpenMP version of the code. Identical
modifications were made to MovingLeastSquaresOMP::performProcessing as
to MovingLeastSquares::performProcessing.

Tests which do not depend on OpenMP still pass.
Fixes #791.

As per the description in #791, d == distance_normalization in some
cases, which produces a bad access in the octants/quadrants vector.

By using the floor function, we guarantee that the result will fall
between 0 and 12 inclusive, but never reach 13. The subtraction by an
integer makes the static_cast unnecessary.
Merge pull request #792 from mohawkjohn/issue_791

Fixes #791 (bad access in the quadrants vector)
Fixes #794.

Adds VTK_USE_COCOA advanced flag for Apple users where VTK is linked.
Merge pull request #795 from mohawkjohn/keypress

Fix for key presses not working in viewer and other visualization GUIs on Mac OS X systems
Relax requirements of manual_registration and pcd_video_player apps

Both apps are currently under `if (OPENNI_FOUND AND BUILD_OPENNI)`
branch, though they do not actually require openni. This commit moves
them outside of this condition.
added a check in organized_connected_component_segmentation
PCLVisualizer: Create CoordinateActorMap in all constructors.

The missing initialization causes a segmentation fault in
PCLVisualizer::addCoordinateSystem, e.g. when calling pcl_viewer with the
"-ax" parameter.
pcd_viewer: Do not set debug flag to false when parsing arguments.

This produces a better error message and avoids a segfault when too few
elements are given on the command line.
Merge pull request #800 from j-oberlaender/master

PCLVisualizer: Create CoordinateActorMap in all constructors (fixes #679)
Merge pull request #802 from prclibo/master

Small extra check for organized connect component segmentation (closes #799)
VS2013 fix
Merge pull request #806 from SunBlack/master

VS2013 fix
Typo in FindQVTK.cmake
Merge pull request #808 from fran6co/patch-7

Typo in FindQVTK.cmake
Fix grammatical non-sense
Merge pull request #809 from VictorLamoine/sandbox

Fix grammatical non-sense
Fixes #810.
Merge pull request #811 from mohawkjohn/vector_erase_end

Fixes undefined behavior from erasing an end iterator
Fixing issue 812