make Haketilo buildable again (for Mozilla)
How cool it is to throw away 5755 lines of code...
move policy enforcing code to a new file, include basic test