LIB-26: extensive test suite / disc tests

This basically replicates the testing already done in python-discid.

I implemented several helper functions. That should pay off when adding
more tests and using these in the build test suite.

This is tracked in:
http://tickets.musicbrainz.org/browse/LIB-26