* -d and -p options
* refactoring of issue.rb code
fixed some bugs
fixes to documentation