Moving action resources from root JSON into 'actions'

Moves action resources into the 'actions' element of root.
Turns each root instance into a specific object.
Properly checks that the root resources are present in spec.