Reworked threading model (!). Removed no longer needed #define.
Merge pull request #41 from NosotrosNueces/events

Reworked threading model
Bots now have mutexes, made handlers thread-safe
Merge pull request #43 from NosotrosNueces/mutexes

Bots now have mutexes
Add a target for formatting code