generate.ts: reorder methods in qlanguageservergen{.cpp,_p.h}
Group the methods by request or notification instead of grouping by
request and register methods, so that for example:
void registerDeclarationRequestHandler(...);
void requestDefinition(...);
are next to each other in the cpp file (instead of begin 100 lines
apart).
Also remove some non-helpful comments.
This also helps making the diff of a later patch that will update the
types to 3.17 smaller.
Task-number: QTBUG-141713
Change-Id: I309d149817d9e903447293d535bb36e0068b80dd
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>