Export headers for DepthTraits and convert for indigo

This PR cherry-picks https://github.com/ros-perception/image_pipeline/pull/108 onto `indigo` branch.

Note that it doesn't use `PCL`.
it would be better if that function could take an empty cloud_msg. Conditions need to be made and initializations too (basically what is done in the other file you modified).