Fix GCC 4.8 warning spew

Summary: Suppress unused local typedef warning in GCC 4.8 because it is
currently triggered by multiple Boost (at least as of 1.53) headers.

Reviewed By: @sgolemon
Add vim swapfiles to .gitignore
Add LINK_PAM option to force linking pam
Don't use DEEPBIND flag in dlopen