New function added to retrieve bug history via API.

Signed-off-by: Laszlo Kovacs <winston01@freemail.hu>