Revert "use apache 2.4 syntax"

This reverts commit f9661501c3a56c2466c7eecd471823ebc47f421d.

Mixing old and new syntax doesn't work. Keep using old syntax for
now (bnc#854263)
add clean option to load_templates
add index for job_settings
allow to actually filter for distri version flavor
fix match parameter

got broken due to prefetching of settings. Any query that would only partially
query the settings table leads to incomplete results.
disable synchronous access for speed
support X-Forwarded-Proto

https://github.com/kraih/mojo/commit/c78ad57ceadea8cff6ed6028b4a528737833f150
fix test case for mojo 5.06

https://github.com/kraih/mojo/commit/c58082b2e4437c644966f9ebc8da682784a210d2
Merge pull request #1 from lnussel/master

master