Build action name objects
A helper method that automatically calls redux actions on success or failure of api promises