Restore 2.0 compatibility of TimedStack#pop

This also supports forward-compatibility through use of timeout as a
keyword argument.