core: Add to_bytes method to StrSlice trait
core: Add rt::io and start sketching the API