### WIP
Merge branch 'testing' into aquint-format-result
raw results save in db
formatted results produced on demand
allow filter on type for results
get_results/filter_type is an array
file/suspicious result keys changed

Conflicts:
	frontend/web/api.py
	frontend/web/core.py
add filter param to /scan/result
Merge branch 'testing' into aquint-format-result
Merge branch 'testing' into aquint-format-result
revert filter param on api
scan_result now returns only av/external results
make formatter class
add new Formatter class to frontend objects
fix mapping needs to be after class definition
fix filtering by type/str
let scan/result output all results and let client filter
filter_type must exist before converting it
use filter_type in file/infected method
add formatter for static analysis
add duration info
staticanalysis result showed as clean
fix None result case