solves issue U4-2356 when deleting templates
Merge branch '7.1.2' of https://github.com/ma1f/Umbraco-CMS into ma1f-7.1.2
Merge branch 'ma1f-7.1.2' into 7.1.3
wrote test to confirm: U4-2356
Merge branch '7.1.3' into 7.1.3-variations