making gse2 StringIO compatible

* removing last use of file pointers
* more direct use of obspy headers, avoiding multiple copies
* new StringIO test
* adapting tests correspondingly