Remove layers from canvas before they get deleted
Merge pull request #741 from assefay/master

Remove layers from canvas before they get deleted - fixes QObject::disconnect console spam when running tests.