Enable MissingDeprecated in checkstyle on build time

I have also fixed some places that violated that rule.