Local and Global Dynamics in an Overlapping Generations Model with Endogenous Time Discounting