compliance with the todoMVC guidelines
Added local storage and fixed some additional compatibility issues
Fixed local storage issue
fixed minor jshint issue
Fixed the issue where the text is selected after edit clicked