Support JSON Hyper-schema for resource type relations

And fix/modify storeResource
Pass the "nice" value of transforms in Render#add
Fix where clause, remove stray console.log