Masked input widget upgrade fixing #3196

Plugin code for new masked input widget updated over the latest CHANGE log.