Ensure that gitignore folders only apply at top level of folder structure

Otherwise files called `Library` and so on won't be tracked by `git`. This is a problem because `InControl` has a folder called `Library`.