modelExtract.flexsurvreg function

A generic function for extracting model information