VEGAS-SSS. A VST early-type galaxy survey: analysis of small stellar systems Testing the methodology on the globular cluster system in NGC 3115