fixed _read_index bug in line_receiver

This definitely needs to be changed
added more behavior tests for line receiver
updated gitignore
Merge branch 'master' of github.com:StephanDollberg/twistedcpp