[COOK-3727] Jenkins minitests not passing

Fixes for issue: https://tickets.opscode.com/browse/COOK-3727

    [COOK-3727] - Jenkins minitests not passing

    * Enforce directory permissions for the home_dir, plugins_dir, ssh_dir and log_dir.
    * Make directory permissions an attribute
    * CHANGE: If you're installing the package this will modify your directories permissions from the ones set by the package.