fixed up the facebook platform test to actually work
converted the facebook platform into a durable object
fix to email test
switched platform initialization to use the durable object pattern, so platforms must be functions that return the object when executed (platform())