Is there a window tiling app that snaps to other windows' edges rather than predefined screen areas?
Take a look at this Wiki question, and see if any of the answers meet your needs.

In particular, this one looks interesting:

Zooom/2 - "Magnetism. If you like snapping windows the the edges of the screen or other windows (as in many X window managers), you will love this."