529 plans are useful tools for funding an education – but knowing which expenses you can use the funds on is crucial.