Embeds opengraph data on badge pages.
Checks that opengraph and fb data is defined before trying to loop through it. Fixes bug and tests should now pass.
Add a head block and htmlPrefix variable to layout.html to keep things clean.
Merge pull request #620 from davelester/feature/opengraphdata

Embed opengraph data on individual badge pages