Added date, debug, json, rpc functions.
Merge pull request #16 from inaka/igaray.misc

Added date, debug, json, rpc functions.