Added 404 redirect if params.edit !== edit and is defined.

Ref #2619
- Added redirect to 404 to show decisive action when appending anything other than 'edit/' on post URL
- Modified EDIT testsuite to test for 404 when above happens