Add related_apps as per the spec
Whitespace changes only
Strengthen tests a little
Check the specific format of the related_apps urls
Remove old comment
Add extra validation
location is now locations
Improved checking of presence of blocks for Application
none handling is gone from the spec