looking at Netsuite::APP_ENV for environment state

# What

Our servers don't have ENV['RAILS_ENV'] set. This PR adds a new constant Netsuite::APP_ENV set by the netsuite initializer