Fix publish

* Apply changes from this PR https://github.com/Icenium/Ice/pull/2535
* Update to latest server api

Fixes http://teampulse.telerik.com/view#item/280241
Fixes http://teampulse.telerik.com/view#item/280884