[STYLE] Code cleaning, removes useless refresh_model()
Revert "[REF] Removes useless client.js (thank you tornado)"

This reverts commit 34c07c7fc19cf4f739cc042245504c8c6448ebd4.
[REF] Removes useless code (get_canvas_cards, get_model_cards)
[ENH] Adds *.swp and *~ to .gitignore