Changed synchronizationBarrier to use promises.
Merge pull request #11 from RedwoodAdmin/JeremyDev

Changed synchronizationBarrier to use promises.