Just some refactoring

So that the next commit is more easily readable.
1.1.1.1: Support File parameters (untested)

https://redmine.usos.edu.pl/issues/7380
1.1.1.2: Add $.usosCore.usosapiUrl
1.1.1.3: User badges
1.1.1.4: Renamed widget to usosUserBadge
1.1.1.5: Changes in badges, selectors and tips
1.1.1.6: Rename usosUserBadge to usosBadge
1.1.1.7: fixes + a base for creating faculty badge
1.1.1.8: fixes + faculty badge
1.1.1.9 - clean up unused features and prepare for release
1.1.1.10 - Add usosXHR.abort() method
1.2: Copied from 1.1.1.10
1.2: Merge branch 'beta'