Refactor activation

Refactor project layout (test => tests, move PHPUnit config to root)
Add unit tests for activators and fix failing code
Add CI configuration