Merge branch 'api_ban' into 'master'

Adding a setting option to configure minimum number of strikes before being banned

As discussed in https://framagit.org/luc/lstu/issues/16.

See merge request !4
2 jobs from master in 3 minutes and 53 seconds (queued for 1 second)
Status Job ID Name Coverage
  Test
passed #6901
Jessie Debian
test

00:03:53

failed #6900
Debian Jessie
test

00:04:08