This addresses this usability issue that is mentioned on this request
File Layer doesn't support transform tool, but leaves user guessing
https://phabricator.kde.org/T4595
This patch tries to grab all the layer types that run into this situation including group layers, file layers, and clone layers. If someone activates the transform tool when over these layer types, a new transform layer is automatically created as a child of it and selected.