Define maximum level by xp table size instead of parameter

I think this improves #780 even more, as it reduces the required config options, but learns the maximum level from the  actual xp level table.