Implement stop method in services. Stop all services when shutting down metacat. This primarily keeps scheduler from hanging with open threads.
Roll back replication user changes. Fix code that converts access levels to integer and to text.
Introduce replication user. Use the fileutil writer methods instead of writing directly.
Handle sessions with null ids gracefully.
Check for null session ID when touching session.
Implement refresh methods inherited from base class
Change the ServiceInterface into a base class called BaseService. All services extend BaseService.
Fix comments
Add comments. Added getPublicSession method
Merge 1.9 changes into Head