#1266036 patch by drunken monkey, fago, thegreat: add Views base tables, fields and relationships based upon data selection on entity objects.