Fix dependencies and clean up package.xml
Fix compile errors about signature of main().
Clean up CMake.

 * Collapse common files into libraries
 * Fix linking against opencv
 * Detect flycapture and don't build flycapture binaries if it isn't
   found