Fix mask bug
Fix mask bug

Caret position immediately following last valid caret position is allowed.
Code as it was written had set position following the last character (mask or otherwise) as valid.
saike/ui-mask,zhaokunfay/ui-uploader,lith-light-g/ui-scrollpoint,angular-ui/ui-event,zhaokunfay/ui-validate,NickTomlin/ui-mask,DexStr/ui-uploader,marbletravis/ui-mask,saike/ui-mask,Queatz/ui-validate,zhaokunfay/ui-validate,aniellepizzo/ui-scrollpoint,angular-ui/ui-mask,xuwupeng2000/ui-event,marbletravis/ui-mask,graingert/ui-jq,pedroso/ui-mask,NickTomlin/ui-mask,dhustlerz/angular-ui-OLDREPO,sndp-vrma/ui-utils,lukepfeiffer10/ui-mask,RafaelTaranto/ui-mask,graingert/ui-jq,graingert/ui-keypress,r0b-/ui-validate,lukepfeiffer10/ui-mask,angular-ui/ui-uploader,angular-ui/angular-ui-OLDREPO,angular-ui/ui-indeterminate,zhaokunfay/ui-indeterminate,zhaokunfay/ui-mask,r0b-/ui-validate,modulexcite/ui-utils,zhaokunfay/ui-scrollpoint,angular-ui/ui-scrollpoint,angular-ui/ui-event,xml/ui-mask,HawkHouseIntegration/ui-mask,stevenkang3/angular-ui-OLDREPO,Mojility/ui-uploader,mengshadow/angularjs,angular-ui/ui-validate,graingert/ui-utils,zjplovemm/angular-ui-OLDREPO,zhaokunfay/ui-indeterminate,stevenkang3/angular-ui-OLDREPO,dhustlerz/angular-ui-OLDREPO,angular-ui/ui-indeterminate,zhaokunfay/ui-uploader,mengshadow/angularjs,Mojility/ui-uploader,behzad88/ui-utils,isaacplmann/ui-mask,lu4/ui-mask,lu4/ui-mask,xml/ui-mask,zhaokunfay/ui-event,RafaelTaranto/ui-mask,KingMario/ui-uploader,HawkHouseIntegration/ui-mask,zhaokunfay/ui-event,isaacplmann/ui-mask,pedroso/ui-mask,gdi2290/ui-utils,angular-ui/ui-utils,lith-light-g/ui-scrollpoint,zhaokunfay/ui-scrollpoint,Queatz/ui-validate,graingert/ui-keypress,graingert/ui-utils,KingMario/ui-uploader,angular-ui/ui-scrollpoint,aniellepizzo/ui-scrollpoint,akhilshastri/ui-utils,xuwupeng2000/ui-event,zjplovemm/angular-ui-OLDREPO,DexStr/ui-uploader,zhaokunfay/ui-mask,sndp-vrma/ui-utils