This code is copied and adopted from MIT-licensed
https://github.com/makeomatic/redux-connect/

There's a few modifications to allow injection of redux action calls from
the configuration part, to allow customizing and extending.
