bugfix & add a bit future & add a rpc example

I commit twice times in my fork.
I fix a bug: avoid suppress user exception. 
I modify queue.declare function to return the same value as callback and add a example to illustrate how to write rpc using haigha.