refactored serialize_posts method
fixed posts duplication check
Refactor Posts model and controller
Merge branch 'master' of https://github.com/trrr/fd