Generalizations of complete mappings of finite fields and some applications