local_settings check for all settings

shortening use of local_settings into function, applying to all settings.

This was necessary for cleanly debugging the registration / activation process.

makes for a nice local_settings.py / settings.py interaction, while keeping settings.py relatively clean

Note that these changes couldn't be exhaustively tested.  The syntax is correct, and am using this code in another branch for testing local and central servers.