Use the publish() api from xblock.runtime.Runtime

This will adapt edx-platform to use the latest version of XBlock, including the pull request currently under review in XBlock (https://github.com/edx/XBlock/pull/168). The plan is to submit the XBlock pull request, then submit this shortly after.