LB-1259: Merge master branch to devel branch

fixed chain issue.
Merge pull request #537 from nistormihai/devel

LB-1259: Merge master branch to devel branch
LB-1259
:
Merge master branch to devel branch
LB-1281
:
Auto-publish for blog can't be turned on again
Merge branch 'devel' of github.com:ioanpocol/Superdesk into devel