Recent legislation makes changes to popular retirement savings plans like IRAs and 401(k)s. Here are the major changes and how you can benefit from the new rules.