Convert webapi/Pkgwat to more effectively using the Task monad

Signed-off-by: Ricky Elrod <ricky@elrod.me>