Refined 'intersects' to distinguish polys and linestrings.

I AM A DRAFT PLEASE WRITE ME IN A PROPER WAY!!!
It is more of a draft, but my understanding is that polys do not really
intersect with other polys if they only have a common boundary, linestrings
however do intersect in this case.