Added basic schema introspector for record caching

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