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..
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
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..