[PRD-3882] Base64 encode parameter label and value if illegal characters...

... are present, setting encoded="true".  This requires a corresponding change in commons-ui to decode parameters when necessary.

@mdamour1976 please review