Skip AnnotationScanner if class name information can't be found.

Currently when `ClassReflection::getAnnotations()` is called on class which uses a trait and error occurs when the `AnnotationScanner` constructor gets called with `false` for the `$nameInformation` parameter.

In this PR I have simply changed it so that `getAnnotations()` returns `false` instead of creating a new `AnnotationScanner` if `FileScanner::getClassNameInformation()` returns `false`.

This simple causes traits to be skipped, maybe instead more needs to be done here to scan for traits in the scanner, if so let me know.