New analysis highlights the potential wealth you can amass in a health savings account, but there are plenty of caveats.