pull in an edit package if the user has an auth cookie
add tests for redirect on unauthorized patch, post
Merge branch 'RC1/master' of github.com:motherjones/smokejs into RC1/edit_package

Conflicts:
	js/edit_api.js
	js/router.js
	js/views.js
	test/edit_api.js
Merge pull request #7 from motherjones/RC1/edit_package

Rc1/edit package
merged in recent changes to api