[test_tools] Add handling of module setup functions.

Also add a memory-attribute to MockWillie.
Fix returning off attributes in MockWillieWrapper.
[url] Add a test for .title command.
[url] Make .title-command actually output the title.