update jquery to 1.8.3

1.9.1 has too much deprecated stuff like $.browser detection
update require.js to 2.1.5
use latest qtip 2.0.1 for future jquery 1.9 compat

I had to add a factory bloc on top of qtip.js to make it compatible
with requirejs... else we have a warning sometimes about jQuery symbol
backport new base template vars (baseurl, requesturl)

Factor out base url into a common function

+ set cookies to baseurl
update js modules and templates includes

use new resources, project and url aliases

(part of xiphux master work, backported to my fork)
use new qtip css classenames
explain 0.2.7 backports