Modals rework with UI Bootstrap

All the previous modals have been removed and replaced with a system based on UI Bootstrap. Thus resolving two issues in #26:

- [x] When we click on the delete link of an entity, the confirmation modal can pop multiple overlays, this seems to happen randomly.
- [x] When a thumbnail is edited, the page must be reloaded to be able to edit another thumbnail.