Adding finalized skeleton of web pipeline

Still can't show results or have a proper working wait page, as those are dependent on the job running working, but you can now go through the entire pipeline and see how it looks.
This was just to mock-up that something "is running", should be replaced
later.

On (Jun-20-14| 4:37), Antonio Gonzalez wrote:
> >      def listen(self):
> > -        # runs task given, with the yield required to get returned value
> > -        # equivalent of callback/wait pairing from tornado.gen
> > -        yield tornado.gen.Task(self.redis.subscribe, self.channel)
> > -        if not self.redis.subscribed:
> > -            self.write_message('ERROR IN SUBSCRIPTION')
> > -        # listen from tornadoredis makes the listen object asynchronous
> > -        # if using standard redis lib, it blocks while listening
> > -        self.redis.listen(self.callback)
> > -        # fight race condition by loading from redis after listen started
> > -        # need to use std redis lib because tornadoredis is in subscribed state
> > -        oldmessages = self.r_server.lrange(self.channel + ':messages', 0, -1)
> > -        if oldmessages is not None:
> > -            for message in oldmessages:
> > -                self.write_message(message)
> > +        sleep(5)
> 
> do we really need to sleep(5)? If so, why? 
> 
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/biocore/qiita/pull/117/files#r14015740