title: Accessing array elements in a TypeSafe configuration
body: <p>Given a nested JSON as configuration, like:</p>
  
  <pre><code>{
      app: {
          id: "app1"
          instances: 2,
          servers: [
              { host: "farm1.myco.com", port: 9876 }
              { host: "farm2.myco.com", port: 9876 }
          ]
      }
  }
  </code></pre>
  
  <p>When using typeSafe config, is it possible to address elements of an array directly in a path? </p>
  
  <p>At the moment we need to do something like the following, which is kind of verbose: </p>
  
  <pre><code>val servers = config.getObjectList("app.servers")
  val server = servers.get(0).toConfig
  val host = server.getString("host")
  val port = server.getInt("port")
  </code></pre>
  
  <p>Something like this would be ideal: </p>
  
  <p><code>val host = config.getString("app.servers.0.host")</code> ? </p>
  
  <p>Does the TypeSafe API supports something like this?</p>