Implemented the backend of the statistics.model user function.
The implementation heavily uses the specific analysis API, calling the calculate(), model_loop(),
print_model_title(), model_statistics() and get_model_container() methods to do all of the work.
The last of these API methods is yet to be implemented.