Fix copyResources task

The mapping created didn't rebase on the resource directories.

Now it's the same approach as regular copyResources. Uses sbt Sync to cache the copying and supports removing assets.