Remove unused imports.
Fix compile errors in test code.
Factor out logic into AbstractCodeSearchSymbolDefinition.
Also check the character start index.
Introduce a class for testing equality with CodeSeachSymbolDefinitions.
More generic pretty print.
Move Test to src/main/resources so we can reference it in dependencies.