Nested attributes support

Rails by default needs to have "_attributes" appended to the name of the accepted nested resources in the model, this patch automatically appends "_attributes" to the names set in the new nestedResources array option of the config.

```
railsResourceFactory({url: '/books', name: 'book', nestedResources: ['author']});
```