Fixed bug #361 again (parent_id of log entry cr_items point to case's object), this time providing an upgrade script, changing the parent_id of existing log entries, and fixing the case deletion proc to delete cases properly given the parent_id.
further work on the crawl_links proc, making it handle relative links correctly by adding the previous_url switch and forcing tclwebtest to use that as the base for relative urls