Move Data.Functor.(Classes,Compose,Product,Sum) into base

Authored by RyanGlScott.

Description

Move Data.Functor.(Classes,Compose,Product,Sum) into base

These modules were previously provided by the transformers
package. Hence the submodule update.

This patch was originally contributed by M Farkas-Dyck and
subsequently taken over and completed by Ryan.

The original proposal discussion can be found at
https://mail.haskell.org/pipermail/libraries/2015-July/026014.html

This addresses Trac #11135

Differential Revision: https://phabricator.haskell.org/D1543