[python] pep8: 4 spaces, print_function
[python] fix messages_tool

Don't put empty strings in values.
This was a problem if IVY messages have a trailing whitespace,
should be fixed where the bogus messages are generated as well...
[ocaml] untabify, indentation