[ENSCORESW-680]. Adding a max allowed time limit to optimise a tree in for web.
[ENSCORESW-680]. Adding a max allowed time limit to optimise a tree in for web.

The optimise tree step can take a very long time and cause web timeouts. We have
added a time limit expressed in floting-point seconds. If an optimisation is
taking longer than the specified time we will abort any more attempts.

Ensembl/ensembl,muffato/ensembl,at7/ensembl,mjg17/ensembl,danstaines/ensembl,james-monkeyshines/ensembl,mjg17/ensembl,muffato/ensembl,james-monkeyshines/ensembl,mjg17/ensembl,at7/ensembl,at7/ensembl,at7/ensembl,willmclaren/ensembl,james-monkeyshines/ensembl,Ensembl/ensembl,willmclaren/ensembl,danstaines/ensembl,james-monkeyshines/ensembl,Ensembl/ensembl,danstaines/ensembl,mjg17/ensembl,muffato/ensembl,Ensembl/ensembl,muffato/ensembl