Added a way to specify custom capabilities for Selenium2

This allows configuring capabilities which are specific to other drivers
or custom implementations.
Fixes #129
Fixes #125
Refs #135