Lock profile sync using a variable as a flag.
Using lock acquire.
Fix locking.
Merge pull request #5432 from openscholar/lock-sync

Lock profile sync
fix padding bottom rule when last child something after it. #5225
remove typo in classic responsive css file. #5284
make headers in wysiwyg look like the same as in a reg page. #5389
make body text in the wysiwyg look the way it does in the theme. #5389
testing related content.
Merge branch 'SCHOLAR-3.x' into 5441
Add more tests.