fixes a bug with item title not displayed in the list

###### my very first public pull request.
* fixes item title not being displayed.
* binds checkbox state to the item's complete state.
* Note: I am very new to web development. So I'm going to guess these are less than ideal ways to achieve the desired effects. (Code is tightly coupled with the template and will break if the template is changed) If there is a better way/place to do these things please advice!