#17477 Fix problems, add comments, improve formatting
#19747 More tweaks
#19747 More fixes
#19747 Remove error log
#19747 Resolve merge conflicts
#19747 Resolve issues
#19747 Resolve further issues
Merge pull request #172 from ncatanchin/19747

Code Review for Job #19747
userstats.js: obsolete code removal
userstats.js modals pagination fix for bigger pages count cases
Fix UserController::counts for latest earnings (used in bidding info dialog)
New UserController::totalJobs method to retrieve total jobs from a specific user
New method in userstats.js to use the server-side one added in prev commit
linking bidinfo stats with userstats.js dialogs
Budget & Earning and budget dialogs: titles and dialog links improvements
Styling jobs summaries in Budget dialog the same way than the Jobs modal
Fixing dialog links from earning and budget modal
Budget Transferred dialog title fix
fixing overlapped same dialog bug in user profile
simplifying userinfo.js