Fix widget install and uninstall using hardlinks.

Fixes #2206
Related to ongoing discussion on #2264
Related to #2258 (merge problems?)

@rolandwalker This fixes the widget problem without showing a popup dialog to install.

```File.link``` seems to do the job of hard linking directories.