Prevent obvious redirect loops being added

Added some form validation to prevent redirects being added from a page
to itself. This includes when the user clicks 'Save' without filling
anything in. The save button is disabled in these cases.
Merge pull request #2 from johnnycardy/master

Prevent obvious redirect loops being added