Updates for latest janus

Added janus_flatten_gallery, changed janus_search to work on janus_flat_gallery's, janus_enroll no longer writes to file on disk.
@jklontz @sklum Implementation of latest janus changes.
`typedef std::vector<janus_template> janus_gallery_type;`

Also, consider using a QVector instead for consistent of Qt classes instead of STL classes.