app: removed comments at the end of method blocks
app: building app with params and polling works

- Removed old code for HTTP authentication
- Get the current job number from the job status
- Print a dump of the JSON if -v -v is set
- Lots of prettification of the console output
app: added --poll-interval parameter; defaults to 5