Revert "Add capability sets to the event system. Contains code from Duncan Coutts."
This reverts commit 58532eb4. Turns out it didn't work on Windows and it'll need some non-trivial changes to make it work on Windows. We'll get it in later once that's sorted out.
Showing with 10 additions and 374 deletions