refactor copy_root_module_to to copy_module_to and add support for ignore

https://tickets.puppetlabs.com/browse/QENG-762

perhaps an idea to add `.vendor` to it as well by default?