Test case for Pattern::purge_instrument
Fix Segmentation Fault in Pattern::purge_instrument
Fix test pattern file to match XSD schema
Fixed #131: Fixed segfault in tests

The drumkit pattern xsd file still fails to validate with the QT xml parser, but it seems to be fine with xmllint..
Migrate tests to CppUnit
CMake: Remove -fno-implement-inlines from compiler flags on Mac OS X

The clang version in OS X 10.9 does not support this flag and will throw
an error.
Merge branch 'master' of github.com:hydrogen-music/hydrogen
Migrate tests to CppUnit (main.cpp)
Add tests for H2Core::ADSR
Fix failing tests for H2Core::ADSR
Merge branch 'master' into cppunit

Conflicts:
	src/tests/tests.cpp
fix namespace in drumkit_pattern.xsd
Move test initialization code from xml_test.cpp to main.cpp
Fixed #153: Replace deprecated libarchive methods
Fixed two minor issues found by cppcheck
Sample.cpp: Fixed possible memory leak
Sample.cpp: Use delete[] iso. delete for array
Sample.cpp: Even more delete[] correctness..
Use libarchive for drumkit archive manipulation. Re-enable import. Implement export.
Allow for automatic (via preprocessor directives) fallback to tar command, if libarchive-dev is not available. On non-windows platforms. If on windows and libarchive is not available, present the user with the information that the drumkit was not exported.