imports in generated code made relative

Closed Konrad Grochowski requested to merge relative_imports_in_generated_files into master

this simplifies putting generated files as a submodule in bigger project.

Merge request reports