Allow users to select 'Show parent content' when filtering by Space.

I also did a little clean up of the code and filled in comments as I understood what was going on. I didn't change the behavior of anything (well, other than adding this option!), just tried to describe what it was doing.