Use EntityDocument in WikibaseLuaBindings

Change-Id: Ic1194660d31bc69f5420a91dc99b6931c11608f9