Added 'getAllSentMessages' command to API

Added a 'getAllSentMessages' command to the API, which returns a JSON array 'sentMessages' containing message objects with the following fields:

msgid, toAddress, fromAddress, subject, message, encodingType, lastActionTime, status

Very similar to the existing 'getAllInboxMessages' command.