Adding the blink sketch as the built-in default for Cosa main.

1. Adding necessary functions to allow local static instances.
2. Also adding default behaviour for pure virtual.
3. Updating example sketches which have no setup() or loop().