Merge pull request #79 from camilotorresf/pin-loaders

change category URLs in the site
Merge pull request #80 from mygetlist/pin-loaders

Change category URLs in the site to better ones.
The category URLs can be changed in the admin.

Please apply these changes to the DB:
alter table categories add slug text not null default '';
create index categories_slug_index on categories(slug);

Please run these two utilities as usual:
fix_users_lists.py
add_slugs_to_categories.py
Show pin url in pin details

In the category listing, when clicking in a pin, the url changes to match the pin for the URL.
Shoe pin url in profile lists

In the profiles's lists, when clicking in a pin, the url changes to match the pin for the URL.
Fix profile listing in FF
Adds a position priority to categories

Create the field in the categories table in the DB.
Update the creation and update of categories in the admin.
Order categories with position in admin

Also considers the alphabetical order when the category has the same position
Show the categories ordered with position

Take in account the position and the alphabetical order when displaying the categories list.
Fix edition and deletion of subcategories

In admin fix creation of subcategories with position 0 as default.
Fix the deletion of subcategories by deleting the related tables in DB.
Show items from child categories

In category listing now show items from the category and from the category child categories if the categories has children. Adds links to show the related categories: parent and siblings.
Don't erase form /admin/input/ when errors

When there are errors that are detected in the server, like bad image formats or bad image URL, in /admin/input/, the content that the loader put for that particular item remains there to be fixed. Before this was deleted or lost.
Bigger fields in /admin/input/