Automatically popping up the project's Eshell buffer

This is a neat function I wrote that looks to see if the current buffer is part
of a projectile project. If it is, then it tries to find an eshell buffer that
belongs to the same project. If it does, then it uses popwin to pop that
buffer up near the bottom of the screen.