sync task status fix

git-svn-id: https://svn.apache.org/repos/asf/syncope/branches/1_1_X@1471010 13f79535-47bb-0310-9956-ffa450edef68
code formatting

git-svn-id: https://svn.apache.org/repos/asf/syncope/branches/1_1_X@1471011 13f79535-47bb-0310-9956-ffa450edef68
merged from 1.1.X

git-svn-id: https://svn.apache.org/repos/asf/syncope/trunk@1471012 13f79535-47bb-0310-9956-ffa450edef68