added new features.

new feature: filter return false will not updated value.
new feature: support `required` attribute.
new default rule: email
removed scrollTop
removed debug code.