split edit.php into edit-on{Get|Edit}.php.
fixed birthday to use input:type=date.
onEdit to return contacts, the same as onGet method.
displays relation info in the form.
should put all forms within form tag.
it's post (not put), added Contact for entity to use.
form should include friends info; output type as hidden tag.
added new contacts when editing a friend.