db: moved DbException to db package
Added .idea to gitignore