Redone the path matching/returning stuff

I guess this should work now as expected

Tested with:
```js
jpgmin: {
      src: ['../bundles/<%= pkg.bundleName %>/img/*'],
      dest: '../public/<%= pkg.bundleName %>/img',
      quality: 80 // use lossy JPEG compression at 80% quality
    },
```

Running "jpgmin" task
>> Compressed 31 files
>> Uncompressed size: 21937.55kb, Compressed size: 10863.95kb, Savings: 50.48%

Having them correctly output to the img folder under public..
.. but this time other patterns like *.jpg, test/*.jpg, test/**/*.jpg,
test/{a,b}/*.jpg etc. should work as well. The first dynamic pattern
marks the *beginning* of the path/file output to the destination (paths
are kepts intacts it's not destroying the anymore (I hope)).