realpath implementation
relpath implementation
Merge pull request #319 from torkve/master

realpath and relpath implementation