LR5 will upgrade a LR4 (or earlier) catalog no problem, but, it's a line in the sand. If you do work in the LR5 catalog, there's no way of getting that work backwards to a LR4 catalog. Yes, you can save out the .xmp metadata, but that would be the only link to processing metadata. You could not open the LR5 catalog in LR4-period...