Merge pull request #656 from weese/feature/stream-fixes

[FIX] fixed "comparison is always true" warning
Merge pull request #657 from weese/feature/stream-fixes

[FIX] fixed problem where output iterators start at the end-of-file in f...
[FIX] Fix for snp_store.
Merge pull request #658 from holtgrewe/feature/fix_snp_store

[FIX] Fix for snp_store.
Merge pull request #660 from weese/feature/stream-fixes

[FIX] VS fixes
Merge pull request #661 from weese/feature/stream-fixes

[FIX] more VS fixes
[FIX] added missing ifdef