New API method to get issue attrachments from the tracker
New API method to get pull information from the tracker
Patch can be pulled from the tracker on demand

This also includes a massive rewrite of the pull command which was
getting too distusting to be true... Now the logic is abstracted
in a class, which style does not entirely convince me, but that
is still a lot neater than before!