make series key and batch length configurable
Merge branch 'master' of https://github.com/eman/iotrelay-sample