M/string theory, S-branes and the accelerating universe