More fixes to calculating resolved caps/deps, such as ignoring unknown effective times and handling fragments as a special case. Also start to implement adapt(BundleRevisions.class). (FELIX-2950)