fix incompatibility with IDEA 14
also allow to save settings in project dir