Fix a bunch of bugs

Remember original placeholder and maxlength attrs, properly unbind
events, proper uninitialize func, proper clearing of value on blur with
zero-length raw val.