window.navigator improvements

I changed the window.navigator.userAgent implementation. Now it exposes device name and os version. In addition i added the language attribute to window.navigator.

These changes were necessary to facilitate more detailed logging of used platforms and i18n support in one of our projects.