Added getValue() to primaryManifest

Signed-off-by: Tom Wright <tom@inflatablecookie.com>
Added relation helpers to data context helper

Signed-off-by: Tom Wright <tom@inflatablecookie.com>