Split client javascript code into core+unauthenticated and authenticated, the same for admin/reseller
Summary:
As we're adding more and more features the client-side code grows. To make the main page still responsive
I split the code into two parts. One that is always loaded and one that is loaded only if user is authenticated.
So, before we had user.js - 493 KB, now it is user.js - 395 KB and user/pages.js 94 KB.
I also saved a few kilobytes with use of whitespace:condense option.
Test Plan: ./phpunit --testsuite=Browser
Reviewers: #hkccp_developers, mollekopf
Reviewed By: #hkccp_developers, mollekopf
Subscribers: mollekopf, #hkccp_developers
Differential Revision: https://git.kolab.org/D3008