BLUE score refactoring and more tests.

BLUE score is now stable across different python versions. Some functions are refactored to make them more readable.

More tests are added based on examples from Papineni et al.