Refactor ApplicationController#set_new_relic_custom_parameters