Add option to keep xref server alive or not

Add an option in iota_core:run/3 to allow keeping the xref server alive after analysis.
Defaults to kill xref server.