Using WAI 3.0 or later and GHC 7.8 or later.

This pull request is to update `wai` for WAI 3.0 and GHC 7.8.