Fix for #19: SessionManager support for custom SessionFactory implementations

Signed-off-by: Bryan Robbins <bryantrobbins@gmail.com>