Fixing bugs and refactoring the split corpus tool

- Enhancment: New commandline options
- Enhancment: Refactored code
- Enhancment: Uses universal newlines
- Fixed: Double newline at the end
- Fixed: Last sentence not detected