Add Limit and LogText to MemoryTarget

You can optionally limit the number of Log lines in memory with the
Limit property.
The LogText method retrieves the memory log as a string representation;
optionally reversed.