Fix quality profile rule severity.
Downgrade Mockito to allow building on Travis.