HSTTWO-2345 moved AnnotationsScanner to hst-commons, added unit tests and account for method overloading