Programmatically return job results

This pull request removes the hard coded links to job results in the analysis results page and instead makes the job object return actual filepaths to html files or result files. It uses glob to search through directories for html pages or, if a single file result, adds that file as a job result.
I think you can do this with a regular join, rather than having to use a subquery, right?

```sql
select fp.filepath, fpt.filepath_type
from qiita.filepath fp join qitta.filepath_type fpt on fp.filepath_type_id = fpt.filepath_type_id
join qiita.job_results_filepath jrfp on fp.filepath_id = jrfp.filepath_id
where jrfp.job_id = %s
```