added functions for getting/setting values from cookies; added userPrefs to the cookie; userData converted to the new cookie way; unified showByGrid() and showByList() into a single and generic showMediaBy()
merge
Merge branch 'master' of https://github.com/RedeMocambos/baobaxia