Pcd recorder improvements

The recorder now has command-line support for device IDs just like openni_viewer.
This is a new pull request based on #672 without the changes to memory size calculation.