Add a minimal FilterInputStream

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Merge pull request #96 from dscho/filter-input-stream

Filter input stream