core: Add rt::context for figuring out what runtime services are available
Cleanup unused import warnings
core: Remove pipes::spawn_service, spawn_service_recv

These are only used in test cases; pipes isn't the right place for them;
they are unnecessary.