Fixed absent images in posts and comments

Some refactoring
Incremented version number
Refactored comments sequence
Added badge update on post view