added tests

I added a some tests, removed some dead code and fixed a bug in ``lingpy.sequence.ngram.character_model``.

I also added a module ``lingpy.tests.util`` to collect utility functions shared among tests. Currently it contains one function which makes access to test data easier.