added additional parameters to jql, fixed tests

Hello!
I changed Issue.jql method params and fixed tests and deprecation warnings. 
Why did you add pry as a dependency?