A new play based on the legend of Robin Hood is to premiere at Nottingham Theatre Royal to celebrate the venue's 150th