Fix checkstyle violations and make checkstyle obligatory

Are constants in interfaces reported as a warning? It's not a good practice.