Rework of taxonomy retrieval and added to dom

Used a modified version of get_taxonomies_for_attahcments to retrieve
all the taxonomies for attachements instead of hard-coding the actual
taxonomies used by different plug-ins.  I had to modify due to Media
Tags plugin by Paul Menard using a custom taxonomy not attached to
media.  I also added the terms for each taxonomy found into
'media-details' so it will show up when user clicks on image and modal
pops up plus live search will eventually be able to use it to search
amongst viewable items (adding that ability later).