Fixed cpp check warnings: memory leak and uninitialized vars
Fix typos
Replace 0.0 (max range) readings with Inf

This is required to follow REP 117
http://www.ros.org/reps/rep-0117.html
Merge pull request #1 from pal-robotics/master

Fix memory leak, unitialized vars, typos and follow REP 117