changed event() helper signature to take options as optional first arg
changes due to previous commit  e.g changed event() helper signature to take options as optional first arg
seperated building of SO.EM args into separate function
fix for event function to return object guid
fix for when no rawData supplied to create()
fixing context menus