added playerinfo to scripting api. removed deprecated table, decided not to have a backwards compatible api, instead a few functions will have backwards compatible overloads