Refactored mapper.map and mapper.mapAll to return promises. Updated issues controller to match. Need to refactor the rest of the files that use mapper.