More schema/meta-data related changes

The session is now passed on to each parser function. We need this in
order to be able to grab the field definitions when we parse an issue.