Homogenized line breaks

Here is a first attempt to fix #79:
- throw a DifferentLineBreaksFoundException
- use preg_split

- [x] Add some doc after code review