api fixes / additions

1.  added check for 'viewable' status of jobs - otherwise api breaks or returns bad data
2. matrix_dump api resource for dumping BIOM to file