add from_file and from_json methods to the resource object
add from_json unit test
add unit test to from_file
Merge pull request #198 from stensonb/feature/resource-from-file-and-json

Add resource #from_file and #from_json methods