modified todo list model to include some validations. Also added tests for length and presence validations