Properly bind "this" for beforeEach/it/afterEach in mocha integration.

Fixes issue 7105.
Ignoring maven/target
Adding a unit test for Command serialization to json
Updating javadocs for 2.41.0
Updating version nubmers for 2.41.0 release
Updating .NET assembly version numbers for impending 2.41 release
Updating IEDriverServer version number and prebuilts for 2.41 release
Updating java CHANGELOG for 2.41.0
Setting pixel density to be independent from OS settings. Fixes issue 6112
Updating necessary files for Python release
Export logging API from main webdriver module.

Fixes issue 7138.
Bump webdriverjs version to 2.41.0 and update published docs.
Fixing imports in python formatter (IDE)
Fixing Java 8 incompatibility caused by use of old jruby
Revert "Fixing Java 8 incompatibility caused by use of old jruby" because it breaks java 7 compatibility :(

This reverts commit 3c4c9c0a9c85d7791f287427652c4f6df5fa09bb.
Bump Ruby to 2.41.0
Bump Ruby version to 2.42.0.dev
Added servlet to retrieve unique capabilities of the nodes registered with a hub as JSON.
added/refactored serverlet that offers json api to get nodes information
remove configuration from node list servlet.