Updated the events-require.js file to add functionality to give every events object a guid to prevent infinite event loops. Also added pulbichToGlobalSubscribeFuncs, a function which takes a function that will be fired any time any event is published.