Implemented getting random fortune from database.

The function that does this is called "getRandomFortune".  It is called
from the "fortuneClick" event handler so that it only happens when the
fortune cookie is opening.