fix(avatar): fix handling of upload return value

SD-225
feat(avatar): set new avatar for current user
feat(avatar): add notification when file is too small

SD-78
fix(avatar): keep cancel/save btns disabled after avatar upload

SD-224
fix(avatar): change current user avatar only if matches selected

SD-78
fix(avatar): disable converting data url to blob

server doesn't handle it neither so no need for this

SD-78
fix(users): refactor user and profile page styles

+ remove old styling
+ refactor css
+ refactor html
fix(style): global styles update

- global styles improvements
- remove inset shadow from buttons when active state
refactor(main): make it return bootstrap function

instead of putting modules into main.js it's setting it in index
refactor(main): remove global config
feat(media): Media plugin

SD-232: refactor archive to use new api