=pro #3019 Migrate the actor copy reference actions to a resourceGenerator.

This ensures that the resources are generated on demand, when needed
by the build.  They also don't clutter the git repository.
Also create an intermediate setting to clean up some of the code.
Merge pull request #1617 from jsuereth/fix/osgi-copy-configuration

Fix osgi copy configuration tasks