Add browser rendering engin detection.

Support webkit, trident, khtml, gecko.