only update input.value on change

Only update input.value attribute when it is different from the dom value.
Intends to fix: https://github.com/lhorie/mithril.js/issues/58