Generalized q analysis of log-periodicity: applications to critical ruptures.