projectpath for eg. & media & empty projectPath

adding projectPath as prefix to examples & media folders

adding trailing slash, if not present & projectpath is not empty.