LB-1480 Conflict with javascript image gallery on RP article page

Added jquery-path in require paths to point to jquery folder.
Change jquery require module to load jquery only if it not present on
the page or older version.
Added a hack to discard define.amd from global scope.