Console config controller

Created a config controller for global settings. 
Changed the dashboard controller file and controller names
Updated rest.js to use global connection variables
Created test for app config controller