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.
Just opened #270

On (Sep-09-14| 8:44), Joshua Shorenstein wrote:
> >  
> > -def run_analysis(user, analysis):
> > -    """Run the commands within an Analysis object and sends user messages"""
> > +    # run the command
> > +    try:
> > +        system_call(c_fmt)
> > +    except Exception as e:
> > +        job.status = 'error'
> > +        msg["msg"] = "ERROR"
> > +        r_server.rpush(user + ":messages", dumps(msg))
> > +        r_server.publish(user, dumps(msg))
> > +        print("Failed compute on job id %d:\n%s\n%s" % (job.id, c_fmt, str(e)))
> 
> It should be, but we don't have that in place as far as I know. If it is I can change that.
> 
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/biocore/qiita/pull/268/files#r17308954