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
admin-ui: Fix JS bug

Bug description: The select-all button wasn't working properly when
the contents of the table were altered.

Fix apyrgio/synnefo#90
Merge branch 'feature-admin-ui-new' into feature-admin
admin-ui: Modify the structure of navigation bars

Also, the subnav is now visible only in details pages.