add get by id, put by id, tests, refs #25

minor cleanup + some unification of writing features, too
Merge pull request #26 from ischneider/feature-by-id

add get by id, put by id, tests, refs #25