OSX: Fix cmake3 usage
Fix scons leaving partially generated files when aborting
Fix T41800: Freestyle + Cycles panoramic camera not compatible, renders are incorrect.
Fix T41811: unreachable code in wm_keymap.c

There was also an issue with passing sl->spacetype here, for some reason...
typo correction in the python API
Cleanup & typo in assignment
Correct last commit
Sculpt: check mask is present before reading
Correct invalid sizeof in memset use