Refactor Code to ARC Support

Small alterations to support ARC. And a correction in SBTableAlert.h line 37