add api/issues_controller.rb to handle api requests from mobile. no authenticates yet.