first attempt to solve the join tables overwritting issue

efficiency might be imporved later on

Closes #38
wip: merge all search db plugins into one

* query are working

todo: format output properly
todo: icon
todo: advanced search: patient less than 2 months, scan after this date, etc.
add patient id in the sql query
basic search plugin works

properly maps data on the file system

todo: crash testing
todo: support advanced queries
introduce age min and age max

fix bug with because of wrong variable naming
study age should be an integer to search on it
basic search on date working
new formatStudy api
Merge branch 'master' into plugin_search
fix typo in the new pacs_pull fomratStudy api
update plugin name in plugin icon
Merge branch 'plugin_search'