KNL-1162 Added the BaseMemoryService which will allow selection of the impl at start using the memory.use.legacy boolean config, defaults to using the new one

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