fixed unclosed comment in sharing form

was causing broken HTML in the form, and causing some javascript errors. Unfortunately this doesn't fix the problem with the sharing preview box not showing.
re-enabled the sync_delayed_jobs for hierarchy tests only

it should be ok for now, but could be a problem when future integration tests are added. added a comment.