getTexts() function added

Function now returns [id], [author] and [title] for each in-site text
in database.