add failing test for Stream.select() with "empty" values
fix Stream.select() with "empty" values
add a test file for GSE2 with STA2 header

this comes from an independent source, the actual values were changed so
that the original data is not recognizable anymore but the positioning
in the STA2 header line is unchanged.
Merge remote-tracking branch 'upstream/master' into fix_gse2_sta2
recuresively including data for "new" setup.py

* see #573
* also simplifying setup directory determination
adding docs dir, is needed for tests, see #573
basics for reading/writing STA2 line in GSE2
Merge pull request #573 from mbyt/573

Version information broken
Fixing unintentionally corrupt files
Adding proper corrupt test file.
obspy-readbuffer.c: Pass the correct remaining buffer length to
msr_parser().

It expects only one record. Passing the correct remaining length enables
it to avoid overstepping the buffer's bounds. Also added a test that
every passed record is at least 256 bytes long - this is the smallest
possible record length.
This should fix the issue discussed in #678.
Using Python callbacks for logging within libmseed.

ms_log() will now properly raise warnings and errors. An issue is that
now everything with a level of >= 2 will be an exceptions and everything
below a warning. There is no lower info-like level. Thus it will either
be an exception or a warning. I think this is acceptable for almost all
use cases.
Adjusting logging levels.
Fixing the previous logging facility.

It is now able to distinguish between log messages, warnings, and
errors.
Adjusting log level.
Adjusting tests to new mseed logging.
Adding newline for the sake of consistency.
Stripping output originating in C
make CatchOutput also catch what python itself writes to stdout/stderr
Merge pull request #679 from krischer/mseed_log

libmseed logging facility now uses Python callbacks