Merge pull request #116 from seanchen1991/master

(refactor) Deprecated old functions and replaced them with render_file and render_text
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
Fixing merge conflicts