Framework was refreshing bundles incorrectly by stopping a bundle then refreshing it in one step when it should really be stopping all bundles in one step then refreshing all bundles in a second step. (FELIX-3153)