The Theory of Fusion Systems