Fix #22: try harder to compute relative names

Ensure GTAGSROOT ends without '/'. Other small fixes.