Merge pull request #9 from revogit/master

Fixed error if categories is null
Added sort_keys=True so every posts looks identical
Merge remote-tracking branch 'upstream/master'