[fix bug 941647] Implement Optimize.ly script on all  pages

**NOT YET READY TO MERGE**

I may need to file a bug to have our optimize.ly project code set on our bedrock environments (as opposed to including it in the repo, like we do for GA), so we may need to wait for that before merging.

But this can be code reviewed at least. Our project code is: 246059135