Fix intermittent test failures due to results ordering issues.

Make bundles-containing and charm-related API
endpoints return results in a specific order.
Use mongo query to sort entities in bundles-containing and charm-related.
Restore pointer in bundles-containing responses.
internal/v4: implement extra-info GET and PUT