Code cleanup: remove unused grease pencil pointer
Fix 39065: Leaving QuadView lost view settings

Now the 'User' view is used when exiting quadview.
Correct own regression drawing lamp outline
Remove link from Link/Append UI, since we have 2 menu items
View3D: disable entering camera when enabling quad-view

This is annoying/distracting especially if your view is just where you want it,
also entering camera view is easy if you need.
Fix T38905: view3d.object_as_camera didn't store the last-view
Code cleanup: remove redundant CTX calls
Get the edit-object when keying and checking editmode
Fix T39952: Printing tiles gives negative numbers
Fix T39933: Link/Append Scenes misses VSE mask, clips
Correct issue with IMB_ispic returning bool
Spelling fixes
Partially revert ef3eb7adc6f283145e28781a05b3b5e73a6cf083

The .exe extension *is* needed on Windows for makesrna, contray to the
patch author's protestations otherwise. Omitting it breaks compilation
on mingw at least (i.e. "rename()" fails). Thanks to "PerfectionCat"
for narrowing down this bug.

makesdna on the other hand still seems to work ok from a quick test I did.
Unless more issues crop up, just reverting this part of the patch should
be ok, though IMO these changes were unnecessary in the first place.
BGE: Fixing a memory leak from the recent physics changes.