I concur with the advice to store chemicals in small bottles. One way to go is to mix sizes. For instance, for 1 gallon (3.785 liters) of developer, you could use three 1-liter bottles, one 500ml bottle, and one 250ml bottle. (Most bottles are labelled slightly pessimistically, so it'll probably all fit.) You'd then start using the stuff from the 250ml bottle, and when it's gone, open the 500ml bottle, use some of it and put the rest in two 250ml bottles. This approach will minimize air exposure until shortly before you use the chemicals, thus maximizing longevity.
As to bottles, for stop bath and fixer, it doesn't matter much (except that acids tend to eat away metal caps), but for developer, preventing air exposure is the most important factor. Glass works best for this, but failing that, PET/PETE (#1 recycling symbol) bottles are the best type of plastic, whereas HDPE (#2 recycling symbol) is worst. See
this page for details. For some reason most plastic bottles sold for photochemical storage in stores are HDPE.
Personally, I reuse drink bottles. Soda, iced tea, and other beverages can still be bought in glass bottles. Drink the contents, wash the bottle, and it makes an excellent and cheap photochemical bottle. (That said, I live alone. If I had kids in the house, I might want to use bottles that look as different from real beverage bottles as possible.) This approach also won't work if you're in a hurry, unless you want to just dump the contents or hold a party.