Use File.separator instead of File.pathSeparator

The .iml file of the project will now be located inside the project root
Inherit the project sdk into the created module

We need to inherit the sdk from the project,
otherwise the SDK will not be added as a dependency to the module
Merge pull request #670 from d3xter/fix_project_import

Fix project import