Can't use json_last_error(), as it's only in 5.3
Initial release. This hasn't been thoroughly tested, but the full hookbox api is implemented. Along with a javascript helper api so that Drupal modules can share one Hookbox connection.