Sharing role overlay: fix wrong javascript selector for ftw.permissionmanager view.

The problem was that all <th> tags were sliced (first removed), but this included both tables.
This change makes slicing per table and separate setups so that the name column of the second
table is not linked.

Also refactored overlay setup into separate function.
Merge pull request #42 from 4teamwork/jone-overlay-link-permissionmanager

Sharing role overlay: fix wrong javascript selector for ftw.permissionmanager