Inspections

This PR reduces the number of inspections errors from about 1500 to less then 500.
It also changes the minimum required version of Java from 6 to 7 but I think it's safe to do it.
Might be some placebo but I've noticed a bit of speedup in 'coloring' the files contents.