Added God.prepareJson method and refactored common utilities.
Added optional cwd parameter to prepareJson.
Fixed error messages in prepareJson.
Changed validate to resolvePaths to match old implementation.
Fixed other calls to reslovePaths.
Merge pull request #186 from bretcope/master

Consistent JSON structure for God and CLI