similarity: moved learn_element into common header. added ngram msgpack methods
similarity: added elliptics document loader