Support AppData directory on latest Windows OS

- Use APPDATA environment variable instead of hard coded "Application Data" string.
- Add .idea directory to .gitignore for working with Intellij Idea IDEs.