全て is NOT the subject of 過ぎ行く. は can't indicate the subject in a modifying clause. The core is 全ては夢, and it can be considered as a sentence the copula is omitted from.
Everything is a dream in the passing time.
のさ and のことさ are differnt. This の is from the explanatry の.