Show more informative error if plugin.json parsing fails

Ref: #2603

Suggestions/corrections to the message welcome. =)

@mitchellh, btw, I find it a bit strange that _state_file.rb_ is located under the plugin command, while it's (also) used directly by the very core Environment class. Dunno.