minor jni datamodel refactor: move dirtype, metatype, dirflag, metaflags up to abstract content, make contructor arguments order and names consistent