Database calls
--------------

int *query_read(string player)
Returns: All notes the player player have read.

void set_read(int *read, string player)
Returns: Nothing

int GetNewNote()
Returns: A new, unique, note-number.

int NumNotes()
Returns: The number of notes on the board

status Deleted(int note)
Returns: 1 if there is no such note as note.

string Title(int note)     
Returns:  The title of a note.

int Made(int note)         
Returns: The int denoting the time when the note was written.

string Author(int note)    
Returns: A string, showing who created the note.

string Body(int note)      
Returns: The body of the note, or, the actuasl note...

int *Comments(int note)    
Returns: An array of int, showing which notes are comments to note, or
        ({}).

int *CommentsTo(int note)  
Returns: An array of int, showing which notes note is a comment to, or
        ({}).

mixed Locked(int note)
Returns:  0 if the note is not locked, otherwise ({ level, who }).

void AddBody(int note,string s)
Returns: Nothing

void AddComment(int note, int com)
Returns: Nothing

void AddCommentTo(int note, int com)
Returns: Nothing

void SetHead(int note, string title, int made, string author, int locked)
Returns: Nothing

status Lock(int note)
Returns: 0 on success, 1 on security violation, or 3 if the note is
         deleted.

status Unlock(int note)
Returns: 0 on success, 1 on security violation, 2 if the note is not
         locked, or 3 if the note is deleted.

status DeleteNote(int note)
Returns: 0 on success, 1 on security violation, or 3 if the note is
         deleted.
