[r] use options instead of properties
allow removing maxlength attribute from element
use maxlength attribute as default maxLength
update dist
add travis.yml
update package info
clean up dist
fix readme