fixes dependency for GLIB2

Previously GLIB2 was required for the unit tests. This commit make compilation of unit tests optional via a parameter for ./configure. By default its disabled.
adds instructions for unit tests to readme
release v0.7.1