Ramanujan's influence on string theory, black holes and moonshine