Sorting + Cleanup

Attachment sorting, Code relocation (trying to follow fat model, skinny
controller), code cleanup, follow standards
This commit

grr
Merge branch 'master' of https://github.com/ecoreng/Multiattach

Conflicts:
	README.md