Fix KT-3831 - "Can't reference the local jar"

 #KT-3831 Fixed
Extend editor configuration by java configuration

 #KT-3814 Fixed
Use annotation @After to delete file after test
Support 'Open Declaration' for kotlin references

 #KT-3832 Fixed
Delete project from KotlinPsiManager if it was deleted from workspace
Add base class in tests. It should be used for editor tests
Add check for nullability on JRE during creation Kotlin environment
Open test project even if it exists
Add tests for open declaration action
Add os independent break line tag to tests