vim: simplify synchronisation code
Merlin_lib: split lexer in separate Merlin_lexer module
Add minimal support for EOF

Could be improved later.