added serialier gem
added serializer for todo and used it in the todo controller
deleted unneeded console.logs
Merge pull request #1 from Adnard-Kod/serializer

Serializer