added indexOf
returning string index and destroying stream when found
checking for non existing index
Merge pull request #1 from jwerle/indexof

added indexOf