NXP-14230: add jquery theme dependency for opensocial gadgets
NXP-14230: get rid of c:set scope='page' (scope page does not exist in JSF2)
NXP-14230: workaround dep issue to jquery.js (otherwise fancybox lb may be loaded before jquery is, and theme contrib cannot state the dep to jquery.js if served by other resources like RichFaces)
NXP-14230: fix bad a4j tag replacement