refactor calculation of average issue resolution time into new function
Implement timewarp feature for average issue resolution time