Fixing some resource leaks.
Removing unreachable code.
Fixing resource leaks and null pointer issues.
Adding tests for Translator.
Merge pull request #16 from holtgrewe/feature/fixing_resource_leaks

Fixing some resource leaks.