Yes - you are correct - please see for reference the IRS publication 590 - http://www.irs.gov/pub/irs-pdf/p590.pdf - page 53 - see also other exemptions.
Even if you receive a distribution before you are age 59½, you may not have to pay the 10% additional tax if you are in one of the following situations:
To qualify for treatment as a first-time homebuyer distribution, the distribution must meet all the following requirements.
When added to all your prior qualified first-time homebuyer distributions, if any, total qualifying distributions cannot be more than $10,000.
If both you and your spouse are first-time home buyers, each of you can receive distributions up to $10,000 for a first home without having to pay the 10% additional tax.
No - that specific exemption is only valid for distributions from IRAs and not valid for distributions from 401k plans - if you need to take distribution from 401k plan - you may roll the money over to IRA account and take the distribution thereafter.
Please be aware that you may not take distribution from 401k plan if you are still employed with the same employer - but you may have a better option - to take a loan from your account - that will not be taxable event.