added function get_module_name & test

This function allows to retrieve the module name by using the Puppetfile as source of truth instead of assuming the module name matches the repository name.
This is also passing the right module name to the r10k_deploy_module function when updating an existing branch (puppet environment).