Move write_biom_table to qiime.util
Add test for write_biom_table