[TO_STAGE] Bug fixes 998905, 999702

Added environment variable name limitations
Bug 999702 - oo-admin-chk: Don't sort usage records based on time, instead update app_name based on created_at field