Proxy for between XF and jQuery to decouple XF from jQuery.

@Jauhen mentioned that everything is ready to address #186. Lets merge! 
ps my first contribution to xframework :D