search.php updates

DRYs up search template part
adds bootstrap media classes
cleans up the code
adds tha content hooks to search template