Change Behavior of Live Search Input

When you click on the tag icon next to the Live Search Input box it now
stops jquery.livefilter.js from working.  Added variable to
initLiveSearch and modified liveFilter.js to accept a destroy option.
Match Input to known list of tags than Ajax

Send javascript an array of known media tags so that we can match that
to what is entered into the input box.  Then we send the request for
media tag that has been matched back to server and respond with list of
media items.
Oh yeah and I forgot to add the media tags icon to the mix on the last
commit so I added that.
Reworked Infinite scroll...

...so it would work with the change from Live Search to Media Tags
search.
Hitting enter resets query

Just a start.  Needed a way to reset the query so we can start over with
any searches.  Now if you clear the input box and hit enter on the
keyboard it sends an Ajax request resetting the query to way it was
originally
Forgot to add css changes

Wish there was some way to go back and add to commits when you forget
something.  These are just changes that are needed for icons in front of
input box and for the overlay when waiting on ajax request.
Re-work of Input box icons and other changes

Added icons for Visible search, Tag search and a future All Items
search.  Moved code into their own functions (initTagSearch,
tagSearchIcon).  Used autocomplete to present a list of tags to search
on.  Pressing enter on empty input returns search back to initial search
criteria.
Added total items updating via ajax (probably not the right way but it's
a start).
Removed tooltip Poshytip and for now use title tag and browser tooltip.
Fixed select all checkbox not getting unchecked on unselect.
Added viewable items count update on livesearchinit.
Re-worked livefilter.js for better destroy method.
We do want autofocus on drop down of input box

And I added clearing of input box when it loses focus.
fixed selected popup not hiding
Fixed overlay positioning

Yeah, I wasn't thinkin when I first put this in.  Now it just covers the
grid.
More input box focusing

Now we only autofocus after initial keypress.  At first its left blank
so user can start typing to narrow results.  Request is only sent if
there is a match.
Plus I realized that mySearch variable needs to be set to true so that
on page load the sendAll request doesn't fire.
Also put focus on the input box after clicking on search and visible
search icons.
Fixes for check-all and search icons

I have no idea what I was thinkin but I sorted out the the variable
issue that prevented check-all from working.  I also realized that
clicking on the tag icon in the selected media popup opened up the
autocomplete menu on the input box with unexpected results.  I properly
identified the element that should be targeted for the different search
functions.
New total and viewable counts plus Grid label

Re-work of total and viewable items.  Moved them to under search box.
Trying to have a quick, easy way to show all items.  Total item count is
now linked to wp_query search with no pagination.  Not perfect but
close.  Also wanted to give feedback as to what search term was used so
Grid is now labeled with tag searched.
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).
Merge remote-tracking branch 'origin/media-grid-filter-by-tags'

Conflicts:
	scripts.js
	styles.css
	wp-media-grid.php