Add line number to JSON syntax error.

Thanks to https://github.com/markpeek/packer/commit/5bf33a0e91b2318a40c42e9bf855dcc8dd4cdec5
Bump version to 0.5.1