fix warning ins newcharachter.cpp

Also replace itypes[] with item_controller->find_template
And use itype::nname(1) instead of itype::name