Issue#11: Resolve system property placeholders before potentially resolving a real path

We resolve first the placeholder then we check if the location is an uri or not.
Merge pull request #13 from pcavezzan/issue#11

Resolve system property placeholders before potentially resolving a real path