ENH: draft of mne report command

Closes https://github.com/mne-tools/mne-python/issues/1056 

Try
```sh
 mne report -p MNE-sample-data/ -i MNE-sample-data/MEG/sample/sample_audvis-ave.fif -d MNE-sample-data/subjects/ -s sample
```
and it should generate ``report.html`` in ``MNE-sample-data/``

Sample output here: http://neuro.hut.fi/~mainak/report.html

TODOS
----------
- [x] recursive exploration
- [x] rebase and use read_evokeds
- [ ]  extend the support to as many fif files types 
       - [x] cov
       - [ ] fwd 
       - [ ] inv
       - [x] raw
       - [x] trans (display head in helmet to check coregistration quality in ``mne.viz.plot_trans()``)
- [ ] check dpi settings
- [x] Slicer coordinates
- [x] Table of contents linking to different parts of html?
- [x] the bootstrap/JS theme should allow to select which type of fif file to display. See jquery toggle
- [x] also bad fif files should appear in red for example if the fif fname is not standard (evoked should end with -ave.fif, cov with -cov.fif, raw with raw.fif or sss.fiff etc....)
- [x] banner + footer
- [x] open the report in a browser when generated
@mainakjas can you put a report.html
on dropbox to get feedback from most of us?


On Tue, Jun 17, 2014 at 11:16 AM, Denis A. Engemann <
notifications@github.com> wrote:

> In mne/commands/mne_report.py:
>
> > +        global_id = self.get_id()
> > +
> > +        fig = mne.viz.plot_bem(subject=subject, subjects_dir=subjects_dir,
> > +                               orientation=orientation, show=False)
> > +        img = _fig_to_img(fig)
> > +
> > +        caption = 'BEM Contours : ' + orientation
> > +        div_klass = 'bem'
> > +        img_klass = 'bem'
> > +        show = True
> > +        return image_template.substitute(img=img, id=global_id,
> > +                                         div_klass=div_klass,
> > +                                         img_klass=img_klass,
> > +                                         caption=caption,
> > +                                         show=show)
> > +
>
> would be cool to add a render_custom function here that takes arbitrary
> callables / user defined stuff
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/mne-tools/mne-python/pull/1261/files#r13849442>.
>