Added check to see if todo input is blank

Without this check if you hit enter on a blank input it would throw a typeerror. 
![screen shot 2014-06-20 at 10 38 11 am](https://cloud.githubusercontent.com/assets/2072894/3341473/bb94dfdc-f888-11e3-8c9c-05cddf7f4604.png)