Toggling foreign keys

Adds a toggle button to disable/enable the `foreignKeys` directive. Long planned, but recently also requested by Francesco Mambrini.