Factor out dict popping for kwarg processing

I see this pattern coming up frequently when processing kwargs, so I think a util would be nice.
Don't clobber reserved words in python
Perform timezone+datesafe equality checking
Merge pull request #1767 from steventlamb/bug/fix_timezone_comparison

Bug/fix timezone comparison