Refactored changes to dashboard controller that were needed for integration of Google service APIs.  Modified google api service based tests to only run if GOOGLE_API_KEY enivornment variable is defined