Continuous Frames, Function Spaces, and the Discretization Problem