dedicated lists and cards controllers

- move sorting and add card/list functions to respective controllers
- add functionality to add card to a list
delete unused cruft js
generic and card-specific modal dialogs