barclamp_mgmt_lib: Make chmod_dir skip directories

The way it is used currently it's not supposed to touch directories as it
would take away the execute bit from them.
Merge pull request #2037 from rhafer/from-git

barclamp_mgmt_lib: Make chmod_dir skip directories
Use rsync archive mode to install barclamp files

Using -a will sync symlinks, as e.g. used in the pacemaker barclamp, correctly
when copying files.
Merge pull request #2039 from rhafer/from-git

Use rsync archive mode to install barclamp files