Added support for path variable evaluation

I have implemented dynamic variable substitution in the paths of targets. This idea is borrowed from [AmplifyJS](http://amplifyjs.com/api/request/).