Image's ROS publisher fixes and optimizations.

Fixed depth (in 32FC1 format according to REP118) and bw image publishing.
Optimized bw and rgb8 image publishing.