How long to ferment (or maybe how long to leave in primary) is fairly straightforward. It stays in primary until the gravity has stopped going down. This is determined by checking the gravity with a hydrometer. From there, it's not uncommon to leave it another week or two.
I guess if you're going to rack to secondary why not bulk age/condition it? If you're not interested in that then I'd probably just bottle it, being careful not to disturb the trub/yeast cake when you transfer.
Generally what I've seen for RIS aging/conditioning is 4 to 6 months, minimum. So for that lengthof time, yes, I think secondary is a good plan. I will be racking my 1.086 RIS to secondary this weekend, after roughly 4 weeks in primary, then it will sit. Exactly how long I have not decided, but it will be 4 to 6 months, minimum.
The last bit you describe about the hose in a container of water is called a blow-off tube. When there is agressive fermentation more CO2 and krausen forms than can escape through the normal s-tube or three piece airlock. They can/will plug up then pressure builds and can/will either blow the lid off the bucket or push the stopper out of the carboy and spew krausen and beer all over the place making a big mess. So, the apparatus you saw is basically a high capacity airlock that allows that agressive fermentation to vent off in a controlled way.
Since RIS is typically a fairly high gravity beer, needing a fairly large starter for good results, that combination of high gravity and large starter increases the propensity for agressive fermentation that results in blow off.