Added support for handouts in beamer slides. Added support for running doconce format as a library call.