admin: Add actions in details view

Add actions for users and vms in the users details view. The actions
that are listed are only the ones that can apply to an item.
admin: Add support for action modals in details

This commit paves the way for the integration of modals to
the details views. We have done the following:

* The modals list has been added as-is at the bottom of the
  html.
* The class for the vm/user details now contains a data-id and
  data-type argument. With these arguments, we can construct a request
  that can be sent to /admin/actions/, in the same way that is sent in
  the list views.
admin-ui: Adjust JS of modals for simple demo
admin: Fix project resources display
Merge branch 'feature-admin-details-actions' into feature-admin