Notice fixes for Sag base library

This pull request fixes a number of notices related to uninitialized variables in the base Sag.php library.  No functionality has been changed.