fixed single attribute code so that it returns a list if it has a weight
WEB-388 added test for commit 5b61e24
Merge branch 'RC1/master' of github.com:motherjones/mirrors into RC1/master
Merge branch 'RC1/master' into RC1/create-update-delete-components

Conflicts:
	mirrors/fixtures/components.json