Added profiling options to CMakeLists.txt
Several additions for controlling CPU time hogging for different components

The main cycle, the ROS spinner, and the PluginInstance class were using all CPU cores at 100% if possible. This fix should resolve that issue.