admin: administration menu fix

* Registers all subitems to the 'main.admin' menu item. (closes #1822)

Signed-off-by: Eirini Psallida <eirini.psallida@cern.ch>
installation: Flask-Assets 0.10

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
legacy: fix for imports and module renaming

* Adds several missing models for new tables.  (addresses #1790)

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
accounts: secure url for login form's POST action

* Changes template so it uses secure url for login form's POST action.

Signed-off-by: Mikael Karlsson <i8myshoes@gmail.com>
Co-authored-by: Jiri Kuncar <jiri.kuncar@cern.ch>
login: redirect to secure url before login

* Check if requested url is secure and if not then redirect to secure
  url before showing login.

Signed-off-by: Mikael Karlsson <i8myshoes@gmail.com>
global: fix for testing 401 after redirection

* Addresses issue with testing HTTP 401 status code after redirections
  to secure page.  (closes #1883)

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
deposit: fieldlist plugin separation

* Renames fieldlist plugin to dynamicFieldList.

* Moves the plugin to dynamic_field_list.js.

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
deposit: fieldlist wrapped to a prototype based class

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
deposit: set_field_values function

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>