Add an optional declarationRange and definitionRange to SymbolDetails.
This will allow SourceKit-LSP to implement toggling between goto
definition/declaration based on whether the symbol at the cursor
is a definition or declaration.
In addition, make some minor fixes for ObjCMethodDecl:
- XRefs.cpp getDefinition now sees ObjC method defs but I've left a TODO to implement proper searching for impls from a decl
- nameLocation for ObjC methods should point to foo in - (void)foo, not the -
can we do this in a separate change? as it has wider implications