add options.traits support, closes #33
Merge pull request #37 from segmentio/add/options-traits

add options.traits support, closes #33