Add custom resource loading & set lang in cookie

https://github.com/megawac/qwebirc-enhancements/issues/7