added TFIDF vectorization test;  refactor TFIDF code; added doc TFIDF function, helps in making normalized document counter for vectorizer; linted code with intellij IDEA 14, made some refactorings