Asymptotic theory of tsunami waves: geometrical aspects and the generalized Maslov representation