zerovm / session return codes introduced as errno replacement.
functional tests updated.