Require magnific-popup on boot

Client-side components should be required in boot.js
Use global jQuery instead of component/jquery
Export magnific-popup function so it can be used as component
Fix popup path