I meant rename, not replace
Merge fix in refactor
Use items for Python 3 friendliness
Replaced functional implementation with object-oriented implementation

--HG--
extra : amend_source : e45d6d9be9d8fbd377b826d5e5e4762d2521ee52
Only set the cursor to tailable when tailing is indicated.