Modified SeqWindow constructor to take function pointer.

SeqWindow constructor used to take a filename and assume that it
should be parse with parseFasta. Now the constructor takes a function
pointer, so it will be easy to use other parsers.