Fix link source bug

Use href variable in template body, not href attribute directly.
Add path2project unit test
Use File in path2project PI generation #1544
Fix path2project PI in copy-to topic #1563