Use ng-cloak and a loading property to hide messages about empty study and form lists; Fix server issue with reverting to draft and then re-publishing a study