changes for codalab website

The biggest change here is adding interpret_items_and_file_genpaths to the remote bundle client. 
With this commit on codalab site. 
https://github.com/codalab/codalab/commit/cbc80b14f6c4eee8ff0f9b4e9a70d12e4fca6e1e

This allows a single call to client via RPC to interpret items and any file paths and other things that the client might need to do. 

Also a deep copy on bundle_infos so that each item has ref to it's metadata. Was returning blank before to codalab site. 
Ok, leave it 'bundle_info' if you feel strongly about it.


On Fri, Sep 5, 2014 at 2:33 PM, Francis David Cleary <
notifications@github.com> wrote:

> In codalab/lib/worksheet_util.py:
>
> > @@ -531,10 +535,10 @@ def flush():
> >              for bundle_info in bundle_infos:
> >                  rows.append({name: apply_func(post, interpret_genpath(bundle_info, genpath)) for (name, genpath, post) in schema})
> >              new_items.append({
> > -                'mode': mode,
> > -                'interpreted': (header, rows),
> > -                'bundle_infos': bundle_infos
> > -            })
> > +                    'mode': mode,
> > +                    'interpreted': (header, rows),
> > +                    'bundle_info': copy.deepcopy(bundle_infos)
>
> it is bundle info on everyother case, This makes syncing it with the front
> end javascript easier. Then handling the one off infoS
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/codalab/codalab-cli/pull/104/files#r17199678>.
>