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
refactor(require): make building superdesk- modules automatic
fix(build): fix path after renaming
feat(media): add media uploader ui

+ Remove sdGridLayout directive
+ Add upload media modal to media app