Fixed mapreduce client checkstyle issues
Merge pull request #1832 from pveentjer/checkstyles/osgi

Made the osgi module checkstyle compliant
Made the monitor package checkstyle and findbugs compliant.