SWITCHYARD-785 automatically add capabilities for used types

https://issues.jboss.org/browse/SWITCHYARD-785

also added a validator to check for unused or missing capabilities.