bug fix

1) line breaks are omitted while retrieving posts and comments
2) PSR-2 compatible files
Merge pull request #24 from amosavian/master

Code formatting fixes