Quick fixes

Signed-off-by: Norv <a.w.norv@gmail.com>
Refactor Themes controller. Fix and rewrite actions doing the theme edition in admin panel.

Signed-off-by: Norv <a.w.norv@gmail.com>
Update gitignore.

Signed-off-by: Norv <a.w.norv@gmail.com>
Add a necessary var.

Signed-off-by: Norv <a.w.norv@gmail.com>