KNL-1163
Provide Session (or other) serialize and deserialize object methods in Kernel API
Only the base code is provided, code for supporting tools would be separate

git-svn-id: https://source.sakaiproject.org/svn/kernel/trunk@308178 66ffb92e-73f9-0310-93c1-f5514f145a0a