Add custom build of magnific popup and move it into libs.

Patch the retina module since the default one sets width:100% on the image and that stretches it with some aspect ratios.
Retina images still pop in before their max-width is set though. I haven't had any luck with setting padding on the image, so it's either the popping or full bleed or not retina size.