Masked input widget upgrade

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