Add UUIDs to resources and validations

I know this is seriously going to break the way the Learn website sees the validations, but the (upcoming) iOS app really needs a way to uniquely identify the validations and the resources.

Side note: the html-css trail seems to have both `resources` and `references`. I don't believe this is intentional.