Fixed __contains__ docstring and made PEP8 fixes (both in timerange.py)