Check for nil? rather than empty?
Add a retries param to types
Invoke karaf_feature install as $karaf::user and remove retries option
from 'client wrapper:install'. 
Updated unit tests to reflect changes.