Small fixes inputmask
Set default option 'mask'. Fix #54
Allow setting the definitions as option.