Added app config in env.js

Getting default server side api base settings;
Added crossdomain config settings;
ToDo: make modules and editors support these configs.