api: Return error code from neat_start_event_loop
api: Return error code from neat_start_event_loop

Returns an error code if an error in the context caused the event loop
to be halted

NEAT-project/neat,NEAT-project/neat,NEAT-project/neat,NEAT-project/neat,NEAT-project/neat