Use new export API

The current code that implements `wp export` is a mess, because the WordPress export code is a mess.

@nb proposed a proper export API: http://core.trac.wordpress.org/ticket/22435 (He says it's already being used on wordpress.com)

If we namespace it properly, we can start using it before it lands in Core.