ENH: Ignore the pycharm internal directory

PyCharm is a nice editor, but it places a .idea directory
in the main source tree.
BUG: Pathing to qry files fixed

The pathing to qry files would fail when checking
for existence of default directories, even when the
default directory locations did not exists.