fully support capabilities option

Right now only supports browserName of capabilities option. Need to support capabilities option fully.

              capabilities: {
                'browserName': 'chrome',
                'platform': 'Mac',
                'version': '31',
                'name': 'Staging'
              }