Ghost Town, at the York Theatre Royal, is a haunting yet ultimately optimistic story about the power of friendship.