Replace volatile bool with boost::mutex

Volatile bool is not sufficient to prevent poll() and reconfigure() from
executing concurrently. This causes the nodelet to crash when poll()
releases the image on a closed camera.

Here a mutex is introduced to guard the relevant critical sections.
Remove old member and add comment
Merge pull request #6 from jondy276/implement-critical-section-in-nodelet

Implement critical section in nodelet