template support to basePath

Adding grunt template support to basePath.
I'm not into grunt development, but this change works fine for me!
example usage: 
    manifest: {
      generate: {
        options: {
          basePath: "<%= meta.version %>/",
          ...