added translations to spanish
Extract queries to keep logic in the Categories Model

This creates two methods in the Category model. This moves the model
logic to the model and just calls the Category class methods in
ListController.

This also adds tests for the two methods created in the Category
model. The motivation for this refactor is the code climate score of the
this class and readability of the code.

 Please enter the commit message for your changes. Lines starting
Update client.es.yml
Use GlobalSetting to enable CORS at application level
FIX: restore category when opening draft
FEATURE REMOVAL: persona login

see: https://meta.discourse.org/t/pulling-persona-out-of-discourse-core/12613
BUGFIX: remove hidden posts from a users stream
fix the build
BUGFIX: make sure we bind the uploader only once
Missing semicolon;
FIX: Was not resuming scroll position on back button
Merge pull request #1929 from verg/fix_category_in_drafts

FIX: restore category when opening draft
Merge pull request #1926 from awesomerobot/master

now that wbr tags are inputted, breaking usernames a bit more natually
Merge pull request #1925 from slainer68/cors_config

Use GlobalSetting to enable CORS at application level
Merge pull request #1920 from nickborromeo/list-controller

Extract queries to keep logic in the Categories Model
Merge pull request #1918 from fabricioflores/master

added translations to spanish
fixing the weird user space column bug on smaller browser widths