This creates the decorators.py module and moves some of the low level common decorators there.
There are many more decorators not included here, but I didn't want to clutter up the patch with unnecessary spam of files that all I'm doing is just adding a new import statement. So assuming people are ok with the high level direction / approach used here, I'll submit this and then I'll do the follow up (that finishes off the rest of the decorators) without review.
I think Pavel intentionally removed this function in a recent CL. Please don't add it back