added utf8 encoding line to python templates

python breaks if it encounters special characters
in files without specified encoding.
Which is especially funny if you've got umlauts
in your name.
runtime: fixed checks on vmcircbuf file and mutex locking for creation and usage of vmcrcbuf classes.
Merge branch 'master' of git.gnuradio.org:gnuradio
core: made strncmp instead of strcmp in case of new lines.
Merge branch 'maint'
wxgui: Fixes to solve issues using GL sinks on OS X

plotter/plotter_base.py:

* Create explicit OpenGL context, check if window is shown before
realising context & only create PaintDC is paint triggered by WM
message (OS paint event)

* Added SetSizeHints to WX sink windows so sizing occurs correctly
wxgui: fix issue with flickering on Linux created by bea6d506
cmake: make install directory of GNU Radio cmakes files configurable
blocks: fix big-endian issue in wavefile blocks
blocks: fix param test in keep_me_in_n GRC wrapper
core: ensure message passing blocks marked done are handled
Merge branch 'fix-wxgui-gl' into maint
Merge branch 'maint'

Conflicts:
	gnuradio-core/src/lib/runtime/gr_tpb_thread_body.cc
core: fir_filter_with_buffer using consistent error margins in all QA tests.

Addresses issue #553.
Merge branch 'maint'
ctrlport: fixed an issue where we weren't using a standard C++ way to set complex values.
Fixed bug in calculation of derivative filter taps.
Merge branch 'master' of git.gnuradio.org:gnuradio
wavelet: fix for -lgslcblas getting stripped out of the link flags due to -Wl,--as-needed default on newer gcc toolchains, results in missing blas symbols at runtime
Merge branch 'maint'