Added connection default params like unicode and pool-size
move some counter query from controller to model articles

refactoring some scopes in article
Merge pull request #148 from xenji/feature/pg-additions

Added connection default params like unicode and pool-size
Put back lambda as it seems to be a best pratice.
Merge branch 'master' of github.com:fdv/typo