Added with-timeout macro to core. Added select-timeout examples.

select-timeout examples for both go-lightly and lamina.