Make janus_create_templates multi-threaded
delete flat_gallery and open file at beginning
Merge pull request #277 from biometrics/janusCreateTemplates

Janus create templates