fix(object parameters): accept empty string for values

Enable stripping of extension using object parameters.
Empty string was being ignored.
Enable stripping of dirname and basename (for consistency) as well.
Merge pull request #15 from rovjuvano/fix/empty-string-and-object-parameter

fix(object parameters): accept empty string for values