fix query to fetch URL info, print statement cleanups

the query to get the lastBuild info (to poll against) was using the
url for the whole job, not the last build.  had to move the url
param inside the last square bracket.

then some cleanup on print statements.  Println doesn't evaluate
%s tags.  Just prints the literals.

Part of BT-494
Merge pull request #9 from coffeepac/lastBuildURL-fix

fix query to fetch URL info, print statement cleanups