robot-framework: Improve python test
utils: Add split_string/trim_string helpers
python-engine: Parse file to discover executable lines

Does not work well for multi-line strings ('''...''').