StorageSQL: use INTEGER(11) for storage target IDs
StorageSQL: use VARCHAR(40) for target names to account for IPv6
Minor refactoring to the Message/Log interfaces
Cleaned up status/error messages for clarity