full rewrite WikibaseEditEntity/WikibaseGetEntity

new wikibase entity structure format that supports also qualifiers and
references to WikibaseGetEntity and WikibaseEditEntity.