Add Windows event support to the tinc event loop

This is a better rewrite of #20, ditching `select()` completely and using a fully Windows event based loop. Also included are the removal of the TAP thread that was suggested in #20 that the new event loop enables, and a bonus Windows service shutdown improvement.