HSEARCH-1309 Remove some unneeded dependencies from the Spring integrati...

...on module