added function to get full layer path

Hi Steve, see question:
http://discourse.mcneel.com/t/how-to-get-the-parent-layer/6583
I think this new function would be a solution.
Feel free to adapt it further...