Refactored string replacer to return flag and accept functor
New feature: Added parameters to skin include directive ($PARAM[ParamName])