<application.rb> Refactor ENV:* handling to operate on copies of carts instead of carts themselves

Created new function - subscription_filter - to resolve subscriptions
for component_instances without altering the cartridge objects
themselves. Added logic to elaborate method to consume new
subscriptions array