Stop user from leaving with unsaved changes, edited Terms

Fixes #25 using window.onbeforeunload at friends.php
Work on #9 Added 'Termination' paragraph at terms