Fix websocket freezing

This takes care of issues #167 and #223 
The entire run process is now broken out into the networkx/IPython setup used in qiime. A networkx graph of jobs and their dependencies are created, then submitted to the ipython cluster for running. This gets rid of the blocking issues we had on the waiting page and allows proper redis communication.

In doing this, I had to change the populate_test_data.sql to have the proper data_type for job creation and testing. The job object and it's tests have been updated accordingly.
This is direct from qiime so I don't want to touch it.
On Sep 10, 2014 3:32 PM, "adamrp" <notifications@github.com> wrote:

> In qiita_ware/wrapper.py:
>
> > +__maintainer__ = "Jose Navas Antonio Molina"
> > +# Taken from pull request #1616 in qiime, with permission from Jose
> > +# Permission was also given to release this code under the BSD licence
> > +
> > +from shutil import rmtree
> > +from os import remove
> > +
> > +import networkx as nx
> > +
> > +from .context import context
> > +
> > +
> > +class ParallelWrapper(object):
> > +    """Base class for any parallel code"""
> > +    def __init__(self, retain_temp_files=False, block=True):
> > +        # Set if we have to delete the temporary files or keep them
>
> Can we turn this block of comments into a docstring?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/biocore/qiita/pull/268/files#r17390630>.
>