delphi: Add TDeviceBase class

Suggested by Nic.
Start adding support for :param:`foobar` markup
perl: Fix typo and style in readme.txt