Updated index positioning

The index button now moves to the top of the page once the header ad is
scrolled off the visible area.  The index itself has been adjusted to
appear under it regardless of position.  Game card pseudo-ads have been
moved above the sidebar ad so the button doesn't overlay the actual ad.
Removed game/type cards from reference column
Fixed reference column sorting

Related cards were being taken into account in the wrong place
Added loading flag, fixed reference column sort bug

Reference column cards will now pause loading while a table is loading
(though multiple tables loading at once could interfere with this)
Removed debug code
Fixed table message formatting
Fixed double submission of table searches
Fixed bug with removing sample links

If the entire field was removed, the links would not be processed and
would become incorrectly unidirectional
Changed initial position of index button
Merge remote-tracking branch 'origin/master' into ffxiv-beta