Fix phpcs error reporting and fix all sniffer's bugs.

taxonomy_vocabulary_machine_name_load may return FALSE, so using it's result as object without checks may cause fatal error.