Fix bug 1102428

Remove directories that are to be replaced by symlinks
when the new version of cartridge is overlaid into gear.

Note: Mark ruby for incompatible upgrade.

https://bugzilla.redhat.com/show_bug.cgi?id=1102428
Merge pull request #5461 from VojtechVitek/bug_1102428

Merged by openshift-bot