helper function for tests checks for needle (string) in haystack (slice)
fromFile now uses a poll endpoint to emit a line at a time
variable declaration cleanup/consistency
Merge pull request #464 from jacqui/consistent-var-declarations

variable declaration cleanup/consistency
added break for speed
Check if a reader exists before allowing polling in fromFile
Merge pull request #460 from jacqui/fromfile-poll

fromFile block now uses a poll endpoint to emit a line at a time
Merge branch 'master' into new-ui