add support for getmininginfo
Merge pull request #20 from lxmonk/getmininginfo

add support for getmininginfo