First proposal of a rule system for the referee.
Added mimetype support to rule system.
Tests should now pass
Simplifying drivers instanciation in tests
Test rules path
Test rules with mimetypes
Fixed referee rule matching.
Removed xfail on mime test, added config to stdout output because of expected fail on travis.
PEP8
Merge branch 'referee_rules' into develop