Investing in your career can put a serious dent in your finances. Here’s how to make sure you're getting your money's worth.