Better subresource name handling. Makes subresources with hyphens work.

When using a subresource with hyphens in it, the generator produced invalid javascript. Take for instance:

```
/resource:
  /resource-with-hyphen
    get:
      queryParameters:
        attribute:
          type: string         
```

It will attempt to create:

```
ResourceApi.Resource-with-hyphen
```

which is not a valid JS object name because of the dash. This pull request will get rid of the dash and use the camelCase version of the sub resource name yielding an object that looks like:

```
ResourceApi.ResourceWithHyphen
```