little friendlier for custom logging.
teach exception to output Agile CSS markup.
json_encode arrays when storing into mysql.

i’m not sure if that’s the correct way to go. Probably we should check
for a specific ->type() variable here.
Add simple layout for error outputting.
Lets enhance our errors to have meaningful codes.