Solved some type conversion issues by adding the final steps needed for dynamic type conversion to work and by reinstating type promotion as done in the old code for some cases where dynamic type conversion fails but type promotion is feasible (at least we hope so). Solved problem with duplication of composite container nodes that had container elements with upstream DAG structure during the cloning of model DAGs.
Merge branch 'development' of github.com:revbayes/revbayes into development