Add functor map and applicative ap to PureIOT

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