split the results

The results are stored in a separate table `tbqueries_results` (one row per file)

```sql
CREATE TABLE IF NOT EXISTS `tbqueries_results` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `tbqueries_id` int(11) NOT NULL,
  `filepath` varchar(500) NOT NULL,
  `results` longtext NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=41 ;
```

- Updated the code that scans the files to store the result in a different table
- Updated the code to show activity detail