Add constants module that defines REGISTERED and DEPRECATED strings and use these constants
Update ConnectedSWFObject: raise KeyError if credentials are not set