added error handling to read_file
added commandline tool, added some error checking, added render trait for Path to handle JSON file case
supressed dead code warning on cmdline main fn
Merge pull request #117 from fleur/master

error handling, cmdlline tool, Path render trait for JSON file