Fixes message generation to work with the new rosjava_bootstrap.

Also sort and remove duplicate package.xml dependencies.