refactored controller method for dealing with HTML out into a helper function.
moved api key actions into web controller.
removed obsolete api controller.
rewired client side code to go to calendar controller for retrieving api token info instead from the now-removed api controller.