The Schr\"odinger-Virasoro Lie group and algebra: from geometry to representation theory