CRAFTERCMS-916
Fixed bug in rename process caused by changing content-as-folder and fixed bug in deployment engine that is sending folder path for delete even though it still has children.
Merge pull request #298 from dejan-brkic/master

CRAFTERCMS-916