Write api accept type and group

Allow writing to buckets to come from data_group/type endpoints
NB: this does not include work to resolve naming issue between `name` and `bucket_name`, which we should fix because:

![](http://24.media.tumblr.com/tumblr_lfarvzaPNi1qzgjfco1_500.gif)