changing np.array to np.frombuffer to avoid segmentation fault (see #536)
Adjusting accuracy of obspy.taup tests.

See #308.
fixing a problem in setup.py

 - we need to append the util dir at front of sys.path
 - otherwise some other package's version.py (happens e.g. with mlpy)
   can erratically get imported and install fails with an ImportError
add a nice dayplot example with events to tutorial
dayplot: adjust default for subplots lower margin, 0.0 leaves no room at all for label and ticklabels
Merge pull request #536 from megies/536

numpy array from bytearray (in obspy.seedlink)
Fixing issue with event dayplot.

Non-existing preferred magnitudes or not resolvable preferred ids
resulted in a not plotted magnitude value. It now either prints the
preferred magnitude or the first it finds.
Speeding up triggerOnset with deque

- will bring a big speed up, when the trigger list is very longish
- proposed by
  http://pyvideo.org/video/1780/transforming-code-into-beautiful-idiomatic-pytho
Being more pythonic, refactoring

- using else statements in for loops
- proposed by
  http://pyvideo.org/video/1780/transforming-code-into-beautiful-idiomatic-pytho
new options in waveform:
linestyle
grid_color
grid_linewidth
grid_linestyle

remove the linewidth in the _plotEvent

documentation in stream updated
":param data_unit:" documentation corrected
pep8 style correction in  waveform.py
Revert "pep8 style correction in  waveform.py"

This reverts commit 35a523917eb9019309c28396818c4b904042c947.
pep8 style correction in waveform.py
add option "prefix" (default "obspy-") for NamedTemporaryFile
Merge pull request #546 from megies/tempfile_prefix

"obspy-" prefix for temp files
Option to ignore file size check in reading sac files

Checking for consistency between actual and theoretical
file size (from `npts`) can be disabled both in
`SacIO.ReadSacFile()` and in `sac.core.readSAC()`.
This is obtained by passing the parameter: `fsize=False`.

`sac.core.isSAC()` has been rewritten, in order not to
rely on `npts` to check file format, but rather checking
`nvhdr` and `delta`, as in `SacIO.IsSACfile()`.
fixes #550
Testing fsize option in reading sac files

Adds test cases for core.read() and SacIO.ReadSacFile()

See also #549
obspy-scan: plotting rectangles for gaps (instead of lines at start of gap) and new option --print-gaps
minor change to previous commit