Added creation of index on logid database field.
Added retrieving logs from database by info.Info object or info.Info.logid property.
Added docstrings to info.Info constructors (and some doctests) and info.Rules class (with format explanation).