Masked input widget upgrade

Enhancement Fix for #3196. Demo of the usage of upgraded plugin can be viewed [here](http://demos.krajee.com/masked-input).