Added toggle for dyes; fixes #1

These toggles are in preparation for some other future features.
Toggling enables or disables drawing of that dye/cloth, and forces a frame redraw.
Abbreviated checkbox event handlers
Added dye sorting; fixes #2

Added several radio buttons with the schema `id="sort-<sort_type>"`, where that sort type will be extracted at runtime to determine the type of sort to be run.

(color-based sorting feels a bit slow at the moment, probably because it uses jQuery heavily to determine lightness and hue values)
Merge branch 'local-testing' into gh-pages

Conflicts:
	main.js
Fixed id loss bug after sort

`id`s are now inserted into the DOM as `data-id` attributes rather than being set with `.data()`
Fixed id loss bug after sort

`id`s are now inserted into the DOM as `data-id` attributes rather than being set with `.data()`
Merge branch 'gh-pages' of https://github.com/Nightfirecat/fitting into gh-pages
Fixed Chrome bug with dye sort default value

Replaced `dyes = $...` with a check for its type at the start of the function.
Merge branch 'shift-fix' into gh-pages

Conflicts:
	main.js
Fixed id setting; accidental merge deletion.
Merge branch 'gh-pages' of https://github.com/atomizer/fitting into gh-pages
Merge pull request #5 from Nightfirecat/gh-pages

Add sorting and main/accessory toggle, fix inline-block spacing issue