Fixed bug #1 - getDebates required a wrong parameter

I fixed the issue reported in #10 which the ```getDebates``` api call required
an ```id``` parameter and the current api doens't, but it requires type,
so it will be basically replaced
0.0.2