An additional needs school in York has successfully reached its fundraising goal to buy a new minibus after being targeted by thieves.