Add -l option to create symlinks for duplicates.

Most parts are stolen from abs2rel function:
https://github.com/kosaki/gtags/blob/master/libutil/abs2rel.c

This will hopefully speedup building mixxx on PMBS:
(https://bugs.launchpad.net/mixxx/+bug/1303318)