support error type
Fix for error
Provide ErrorHandler
Add debug flag
debug json handler
print error
disable debug
use err.Error
remove debug flag
print debug trace
import error handling with log package.
use Println instead of Fatal
free memory
export WriteJson method
Export WriteErrorJson function
write header
Add write json header method
shorter name
Merge branch 'master' of github.com:c9s/jsonhandler

Conflicts:
	jsonhandler.go