Depend on fog-core for errors

Ideally fog-json would be a simple wrapper around common JSON functions
but currently the errors raised are based on fog-core's `Error`. So to
keep inheritance correct we are depending on fog-core.
Merge pull request #4 from fog/correct_testing

Depend on fog-core for errors