Added documentation:
- friendbox.php has somewhat better comments.
- index.html has a lot less redundant code, in particular the assign functions.
  Fixes #7. Reorganized some, the javascript is in a more logical order now.
- Everything works as it did before, as far as I can tell...
  Unit testing anyone?