Add static factory method to ClosureBackedEmbeddedApplication