[nova] rewrite of check_nova-instance

The check has been rewrited to be faster and cleaner.