Removed old commented code and replaced node->language with field_language on hooks + fixed some formatters warnings