Move variable initialization for clarity.
Merge pull request #1217 from martinpovolny/workers_tab_followup

Move variable initialization for clarity.
Fix for paging url path

The paging url path should be constructed using action_url that is
passed by the controllers to the paging control.

https://bugzilla.redhat.com/show_bug.cgi?id=1171167
#1182