fix issues from cppcheck
fix ws
change value copies to references in some places
fix bug in splitdetector
fixes
Merge branch 'master' of https://github.com/voxelinc/voxellancer into cppcheck

Conflicts:
	src/voxel/voxelcluster.h
fix build
Merge pull request #431 from voxelinc/cppcheck

fix issues from cppcheck