parse a string of the form "database=xxx;key=val;…" or database:host and return hash of key/value pairs
improved by John Gorman <jgorman@webbysoft.com>
[Validate]