JetBrains: Added some documentation and fixed subdirectory ignores

I added a reference to the jetbrains documentation and fixed the alternative subdirectory ignores. Without the leading "**/" these rules would only match if the ".idea" file is in the root of the repository (which might not be the case).